public class ScopeRestrictionFluentImpl<A extends ScopeRestrictionFluent<A>> extends BaseFluent<A> implements ScopeRestrictionFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
ScopeRestrictionFluentImpl.ClusterRoleNestedImpl<N> |
ScopeRestrictionFluent.ClusterRoleNested<N>_visitables| Constructor and Description |
|---|
ScopeRestrictionFluentImpl() |
ScopeRestrictionFluentImpl(ScopeRestriction instance) |
public ScopeRestrictionFluentImpl()
public ScopeRestrictionFluentImpl(ScopeRestriction instance)
@Deprecated public OpenshiftClusterRoleScopeRestriction getClusterRole()
getClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public OpenshiftClusterRoleScopeRestriction buildClusterRole()
buildClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A withClusterRole(OpenshiftClusterRoleScopeRestriction clusterRole)
withClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public Boolean hasClusterRole()
hasClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public ScopeRestrictionFluent.ClusterRoleNested<A> withNewClusterRole()
withNewClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public ScopeRestrictionFluent.ClusterRoleNested<A> withNewClusterRoleLike(OpenshiftClusterRoleScopeRestriction item)
withNewClusterRoleLike in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public ScopeRestrictionFluent.ClusterRoleNested<A> editClusterRole()
editClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public ScopeRestrictionFluent.ClusterRoleNested<A> editOrNewClusterRole()
editOrNewClusterRole in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public ScopeRestrictionFluent.ClusterRoleNested<A> editOrNewClusterRoleLike(OpenshiftClusterRoleScopeRestriction item)
editOrNewClusterRoleLike in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A addToLiterals(int index, String item)
addToLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A setToLiterals(int index, String item)
setToLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A addToLiterals(String... items)
addToLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A addAllToLiterals(Collection<String> items)
addAllToLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A removeFromLiterals(String... items)
removeFromLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A removeAllFromLiterals(Collection<String> items)
removeAllFromLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public List<String> getLiterals()
getLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public String getLiteral(int index)
getLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public String getFirstLiteral()
getFirstLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public String getLastLiteral()
getLastLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public String getMatchingLiteral(Predicate<String> predicate)
getMatchingLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public Boolean hasMatchingLiteral(Predicate<String> predicate)
hasMatchingLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A withLiterals(List<String> literals)
withLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A withLiterals(String... literals)
withLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public Boolean hasLiterals()
hasLiterals in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A addNewLiteral(String arg1)
addNewLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A addNewLiteral(StringBuilder arg1)
addNewLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>public A addNewLiteral(StringBuffer arg1)
addNewLiteral in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>Copyright © 2015–2019 Red Hat. All rights reserved.