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 ClusterRoleScopeRestriction getClusterRole()
getClusterRole
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public ClusterRoleScopeRestriction buildClusterRole()
buildClusterRole
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A withClusterRole(ClusterRoleScopeRestriction 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(ClusterRoleScopeRestriction 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(ClusterRoleScopeRestriction 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 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>>
Copyright © 2011–2017 Red Hat. All rights reserved.