public class ClusterRoleScopeRestrictionFluentImpl<A extends ClusterRoleScopeRestrictionFluent<A>> extends BaseFluent<A> implements ClusterRoleScopeRestrictionFluent<A>
_visitables
Constructor and Description |
---|
ClusterRoleScopeRestrictionFluentImpl() |
ClusterRoleScopeRestrictionFluentImpl(ClusterRoleScopeRestriction instance) |
Modifier and Type | Method and Description |
---|---|
A |
addToNamespaces(String... items) |
A |
addToRoleNames(String... items) |
boolean |
equals(Object o) |
List<String> |
getNamespaces() |
List<String> |
getRoleNames() |
Boolean |
isAllowEscalation() |
A |
removeFromNamespaces(String... items) |
A |
removeFromRoleNames(String... items) |
A |
withAllowEscalation(Boolean allowEscalation) |
A |
withNamespaces(List<String> namespaces) |
A |
withNamespaces(String... namespaces) |
A |
withRoleNames(List<String> roleNames) |
A |
withRoleNames(String... roleNames) |
public ClusterRoleScopeRestrictionFluentImpl()
public ClusterRoleScopeRestrictionFluentImpl(ClusterRoleScopeRestriction instance)
public Boolean isAllowEscalation()
isAllowEscalation
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A withAllowEscalation(Boolean allowEscalation)
withAllowEscalation
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addToNamespaces(String... items)
addToNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A removeFromNamespaces(String... items)
removeFromNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public List<String> getNamespaces()
getNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A withNamespaces(List<String> namespaces)
withNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A withNamespaces(String... namespaces)
withNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addToRoleNames(String... items)
addToRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A removeFromRoleNames(String... items)
removeFromRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public List<String> getRoleNames()
getRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A withRoleNames(List<String> roleNames)
withRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A withRoleNames(String... roleNames)
withRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.