public class RoleBinding extends KubernetesResource implements IRoleBinding
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
RoleBinding(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupName(String name) |
void |
addUserName(String name) |
Set<String> |
getGroupNames() |
IObjectReference |
getRoleRef() |
Set<IObjectReference> |
getSubjects() |
Set<String> |
getUserNames() |
void |
setGroupNames(Set<String> names) |
void |
setRoleRef(IObjectReference roleRef) |
void |
setSubjects(Set<IObjectReference> subjects) |
void |
setUserNames(Set<String> names) |
accept, addLabel, asBoolean, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getMetadata, getModifiableCapabilities, getName, getNamespace, getNamespaceName, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic void setUserNames(Set<String> names)
setUserNames in interface IRoleBindingpublic Set<String> getUserNames()
getUserNames in interface IRoleBindingpublic void addUserName(String name)
addUserName in interface IRoleBindingpublic void setGroupNames(Set<String> names)
setGroupNames in interface IRoleBindingpublic Set<String> getGroupNames()
getGroupNames in interface IRoleBindingpublic void addGroupName(String name)
addGroupName in interface IRoleBindingpublic void setSubjects(Set<IObjectReference> subjects)
setSubjects in interface IRoleBindingpublic Set<IObjectReference> getSubjects()
getSubjects in interface IRoleBindingpublic IObjectReference getRoleRef()
getRoleRef in interface IRoleBindingpublic void setRoleRef(IObjectReference roleRef)
setRoleRef in interface IRoleBindingCopyright © 2020 Red Hat, Inc. All Rights Reserved.