public class KubernetesClusterRoleFluentImpl<A extends KubernetesClusterRoleFluent<A>> extends BaseFluent<A> implements KubernetesClusterRoleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
KubernetesClusterRoleFluentImpl.AggregationRuleNestedImpl<N> |
class |
KubernetesClusterRoleFluentImpl.MetadataNestedImpl<N> |
class |
KubernetesClusterRoleFluentImpl.RulesNestedImpl<N> |
KubernetesClusterRoleFluent.AggregationRuleNested<N>, KubernetesClusterRoleFluent.MetadataNested<N>, KubernetesClusterRoleFluent.RulesNested<N>
_visitables
Constructor and Description |
---|
KubernetesClusterRoleFluentImpl() |
KubernetesClusterRoleFluentImpl(KubernetesClusterRole instance) |
public KubernetesClusterRoleFluentImpl()
public KubernetesClusterRoleFluentImpl(KubernetesClusterRole instance)
@Deprecated public KubernetesAggregationRule getAggregationRule()
getAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesAggregationRule buildAggregationRule()
buildAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A withAggregationRule(KubernetesAggregationRule aggregationRule)
withAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public Boolean hasAggregationRule()
hasAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRule()
withNewAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRuleLike(KubernetesAggregationRule item)
withNewAggregationRuleLike
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.AggregationRuleNested<A> editAggregationRule()
editAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRule()
editOrNewAggregationRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRuleLike(KubernetesAggregationRule item)
editOrNewAggregationRuleLike
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public String getApiVersion()
getApiVersion
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public String getKind()
getKind
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A withKind(String kind)
withKind
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public Boolean hasKind()
hasKind
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.MetadataNested<A> editMetadata()
editMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A addToRules(int index, KubernetesPolicyRule item)
addToRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A setToRules(int index, KubernetesPolicyRule item)
setToRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A addToRules(KubernetesPolicyRule... items)
addToRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A addAllToRules(Collection<KubernetesPolicyRule> items)
addAllToRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A removeFromRules(KubernetesPolicyRule... items)
removeFromRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A removeAllFromRules(Collection<KubernetesPolicyRule> items)
removeAllFromRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
@Deprecated public List<KubernetesPolicyRule> getRules()
getRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public List<KubernetesPolicyRule> buildRules()
buildRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesPolicyRule buildRule(int index)
buildRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesPolicyRule buildFirstRule()
buildFirstRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesPolicyRule buildLastRule()
buildLastRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesPolicyRule buildMatchingRule(Predicate<KubernetesPolicyRuleBuilder> predicate)
buildMatchingRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A withRules(List<KubernetesPolicyRule> rules)
withRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public A withRules(KubernetesPolicyRule... rules)
withRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public Boolean hasRules()
hasRules
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> addNewRule()
addNewRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> addNewRuleLike(KubernetesPolicyRule item)
addNewRuleLike
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> setNewRuleLike(int index, KubernetesPolicyRule item)
setNewRuleLike
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> editRule(int index)
editRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> editFirstRule()
editFirstRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> editLastRule()
editLastRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
public KubernetesClusterRoleFluent.RulesNested<A> editMatchingRule(Predicate<KubernetesPolicyRuleBuilder> predicate)
editMatchingRule
in interface KubernetesClusterRoleFluent<A extends KubernetesClusterRoleFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.