public class ClusterRoleScopeRestrictionFluentImpl<A extends ClusterRoleScopeRestrictionFluent<A>> extends BaseFluent<A> implements ClusterRoleScopeRestrictionFluent<A>
_visitables
Constructor and Description |
---|
ClusterRoleScopeRestrictionFluentImpl() |
ClusterRoleScopeRestrictionFluentImpl(ClusterRoleScopeRestriction instance) |
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 Boolean hasAllowEscalation()
hasAllowEscalation
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addToNamespaces(int index, String item)
addToNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A setToNamespaces(int index, String item)
setToNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addToNamespaces(String... items)
addToNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addAllToNamespaces(Collection<String> items)
addAllToNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A removeFromNamespaces(String... items)
removeFromNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A removeAllFromNamespaces(Collection<String> items)
removeAllFromNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public List<String> getNamespaces()
getNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getNamespace(int index)
getNamespace
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getFirstNamespace()
getFirstNamespace
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getLastNamespace()
getLastNamespace
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getMatchingNamespace(Predicate<String> predicate)
getMatchingNamespace
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 Boolean hasNamespaces()
hasNamespaces
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addToRoleNames(int index, String item)
addToRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A setToRoleNames(int index, String item)
setToRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addToRoleNames(String... items)
addToRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A addAllToRoleNames(Collection<String> items)
addAllToRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A removeFromRoleNames(String... items)
removeFromRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public A removeAllFromRoleNames(Collection<String> items)
removeAllFromRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public List<String> getRoleNames()
getRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getRoleName(int index)
getRoleName
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getFirstRoleName()
getFirstRoleName
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getLastRoleName()
getLastRoleName
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
public String getMatchingRoleName(Predicate<String> predicate)
getMatchingRoleName
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>>
public Boolean hasRoleNames()
hasRoleNames
in interface ClusterRoleScopeRestrictionFluent<A extends ClusterRoleScopeRestrictionFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.