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 java.lang.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, java.lang.String item)
addToLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A setToLiterals(int index, java.lang.String item)
setToLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A addToLiterals(java.lang.String... items)
addToLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A addAllToLiterals(java.util.Collection<java.lang.String> items)
addAllToLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A removeFromLiterals(java.lang.String... items)
removeFromLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A removeAllFromLiterals(java.util.Collection<java.lang.String> items)
removeAllFromLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.util.List<java.lang.String> getLiterals()
getLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.lang.String getLiteral(int index)
getLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.lang.String getFirstLiteral()
getFirstLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.lang.String getLastLiteral()
getLastLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.lang.String getMatchingLiteral(Predicate<java.lang.String> predicate)
getMatchingLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.lang.Boolean hasMatchingLiteral(Predicate<java.lang.String> predicate)
hasMatchingLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A withLiterals(java.util.List<java.lang.String> literals)
withLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A withLiterals(java.lang.String... literals)
withLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public java.lang.Boolean hasLiterals()
hasLiterals
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A addNewLiteral(java.lang.String arg1)
addNewLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A addNewLiteral(java.lang.StringBuilder arg1)
addNewLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public A addNewLiteral(java.lang.StringBuffer arg1)
addNewLiteral
in interface ScopeRestrictionFluent<A extends ScopeRestrictionFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.