public class RoleFluentImpl<A extends RoleFluent<A>> extends BaseFluent<A> implements RoleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
RoleFluentImpl.MetadataNestedImpl<N> |
class |
RoleFluentImpl.RulesNestedImpl<N> |
RoleFluent.MetadataNested<N>, RoleFluent.RulesNested<N>
_visitables
Constructor and Description |
---|
RoleFluentImpl() |
RoleFluentImpl(Role instance) |
public RoleFluentImpl()
public RoleFluentImpl(Role instance)
public String getApiVersion()
getApiVersion
in interface RoleFluent<A extends RoleFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface RoleFluent<A extends RoleFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface RoleFluent<A extends RoleFluent<A>>
public A withNewApiVersion(String arg1)
withNewApiVersion
in interface RoleFluent<A extends RoleFluent<A>>
public A withNewApiVersion(StringBuilder arg1)
withNewApiVersion
in interface RoleFluent<A extends RoleFluent<A>>
public A withNewApiVersion(StringBuffer arg1)
withNewApiVersion
in interface RoleFluent<A extends RoleFluent<A>>
public String getKind()
getKind
in interface RoleFluent<A extends RoleFluent<A>>
public A withKind(String kind)
withKind
in interface RoleFluent<A extends RoleFluent<A>>
public Boolean hasKind()
hasKind
in interface RoleFluent<A extends RoleFluent<A>>
public A withNewKind(String arg1)
withNewKind
in interface RoleFluent<A extends RoleFluent<A>>
public A withNewKind(StringBuilder arg1)
withNewKind
in interface RoleFluent<A extends RoleFluent<A>>
public A withNewKind(StringBuffer arg1)
withNewKind
in interface RoleFluent<A extends RoleFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.MetadataNested<A> editMetadata()
editMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface RoleFluent<A extends RoleFluent<A>>
public A addToRules(int index, PolicyRule item)
addToRules
in interface RoleFluent<A extends RoleFluent<A>>
public A setToRules(int index, PolicyRule item)
setToRules
in interface RoleFluent<A extends RoleFluent<A>>
public A addToRules(PolicyRule... items)
addToRules
in interface RoleFluent<A extends RoleFluent<A>>
public A addAllToRules(Collection<PolicyRule> items)
addAllToRules
in interface RoleFluent<A extends RoleFluent<A>>
public A removeFromRules(PolicyRule... items)
removeFromRules
in interface RoleFluent<A extends RoleFluent<A>>
public A removeAllFromRules(Collection<PolicyRule> items)
removeAllFromRules
in interface RoleFluent<A extends RoleFluent<A>>
@Deprecated public List<PolicyRule> getRules()
getRules
in interface RoleFluent<A extends RoleFluent<A>>
public List<PolicyRule> buildRules()
buildRules
in interface RoleFluent<A extends RoleFluent<A>>
public PolicyRule buildRule(int index)
buildRule
in interface RoleFluent<A extends RoleFluent<A>>
public PolicyRule buildFirstRule()
buildFirstRule
in interface RoleFluent<A extends RoleFluent<A>>
public PolicyRule buildLastRule()
buildLastRule
in interface RoleFluent<A extends RoleFluent<A>>
public PolicyRule buildMatchingRule(Predicate<PolicyRuleBuilder> predicate)
buildMatchingRule
in interface RoleFluent<A extends RoleFluent<A>>
public Boolean hasMatchingRule(Predicate<PolicyRuleBuilder> predicate)
hasMatchingRule
in interface RoleFluent<A extends RoleFluent<A>>
public A withRules(List<PolicyRule> rules)
withRules
in interface RoleFluent<A extends RoleFluent<A>>
public A withRules(PolicyRule... rules)
withRules
in interface RoleFluent<A extends RoleFluent<A>>
public Boolean hasRules()
hasRules
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> addNewRule()
addNewRule
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> addNewRuleLike(PolicyRule item)
addNewRuleLike
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> setNewRuleLike(int index, PolicyRule item)
setNewRuleLike
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> editRule(int index)
editRule
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> editFirstRule()
editFirstRule
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> editLastRule()
editLastRule
in interface RoleFluent<A extends RoleFluent<A>>
public RoleFluent.RulesNested<A> editMatchingRule(Predicate<PolicyRuleBuilder> predicate)
editMatchingRule
in interface RoleFluent<A extends RoleFluent<A>>
Copyright © 2015–2019 Red Hat. All rights reserved.