public class V1ClusterRoleFluentImpl<A extends V1ClusterRoleFluent<A>> extends BaseFluent<A> implements V1ClusterRoleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1ClusterRoleFluentImpl.AggregationRuleNestedImpl<N> |
class |
V1ClusterRoleFluentImpl.MetadataNestedImpl<N> |
class |
V1ClusterRoleFluentImpl.RulesNestedImpl<N> |
V1ClusterRoleFluent.AggregationRuleNested<N>, V1ClusterRoleFluent.MetadataNested<N>, V1ClusterRoleFluent.RulesNested<N>
_visitables
Constructor and Description |
---|
V1ClusterRoleFluentImpl() |
V1ClusterRoleFluentImpl(V1ClusterRole instance) |
public V1ClusterRoleFluentImpl()
public V1ClusterRoleFluentImpl(V1ClusterRole instance)
@Deprecated public V1AggregationRule getAggregationRule()
getAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1AggregationRule buildAggregationRule()
buildAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withAggregationRule(V1AggregationRule aggregationRule)
withAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public Boolean hasAggregationRule()
hasAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRule()
withNewAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRuleLike(V1AggregationRule item)
withNewAggregationRuleLike
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.AggregationRuleNested<A> editAggregationRule()
editAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRule()
editOrNewAggregationRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRuleLike(V1AggregationRule item)
editOrNewAggregationRuleLike
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public String getApiVersion()
getApiVersion
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withNewApiVersion(String arg1)
withNewApiVersion
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withNewApiVersion(StringBuilder arg1)
withNewApiVersion
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withNewApiVersion(StringBuffer arg1)
withNewApiVersion
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public String getKind()
getKind
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withKind(String kind)
withKind
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public Boolean hasKind()
hasKind
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withNewKind(String arg1)
withNewKind
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withNewKind(StringBuilder arg1)
withNewKind
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withNewKind(StringBuffer arg1)
withNewKind
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
@Deprecated public V1ObjectMeta getMetadata()
getMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ObjectMeta buildMetadata()
buildMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withMetadata(V1ObjectMeta metadata)
withMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.MetadataNested<A> withNewMetadataLike(V1ObjectMeta item)
withNewMetadataLike
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.MetadataNested<A> editMetadata()
editMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.MetadataNested<A> editOrNewMetadataLike(V1ObjectMeta item)
editOrNewMetadataLike
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A addToRules(int index, V1PolicyRule item)
addToRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A setToRules(int index, V1PolicyRule item)
setToRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A addToRules(V1PolicyRule... items)
addToRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A addAllToRules(Collection<V1PolicyRule> items)
addAllToRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A removeFromRules(V1PolicyRule... items)
removeFromRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A removeAllFromRules(Collection<V1PolicyRule> items)
removeAllFromRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
@Deprecated public List<V1PolicyRule> getRules()
getRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public List<V1PolicyRule> buildRules()
buildRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1PolicyRule buildRule(int index)
buildRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1PolicyRule buildFirstRule()
buildFirstRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1PolicyRule buildLastRule()
buildLastRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1PolicyRule buildMatchingRule(Predicate<V1PolicyRuleBuilder> predicate)
buildMatchingRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public Boolean hasMatchingRule(Predicate<V1PolicyRuleBuilder> predicate)
hasMatchingRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withRules(List<V1PolicyRule> rules)
withRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public A withRules(V1PolicyRule... rules)
withRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public Boolean hasRules()
hasRules
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> addNewRule()
addNewRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> addNewRuleLike(V1PolicyRule item)
addNewRuleLike
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> setNewRuleLike(int index, V1PolicyRule item)
setNewRuleLike
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> editRule(int index)
editRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> editFirstRule()
editFirstRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> editLastRule()
editLastRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
public V1ClusterRoleFluent.RulesNested<A> editMatchingRule(Predicate<V1PolicyRuleBuilder> predicate)
editMatchingRule
in interface V1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
Copyright © 2019. All rights reserved.