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