public class ClusterRoleFluentImpl<A extends ClusterRoleFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ClusterRoleFluent<A>
ClusterRoleFluent.AggregationRuleNested<N>, ClusterRoleFluent.MetadataNested<N>, ClusterRoleFluent.RulesNested<N>| Constructor and Description |
|---|
ClusterRoleFluentImpl() |
ClusterRoleFluentImpl(ClusterRole instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic ClusterRoleFluentImpl()
public ClusterRoleFluentImpl(ClusterRole instance)
@Deprecated public AggregationRule getAggregationRule()
getAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public AggregationRule buildAggregationRule()
buildAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A withAggregationRule(AggregationRule aggregationRule)
withAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasAggregationRule()
hasAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRule()
withNewAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRuleLike(AggregationRule item)
withNewAggregationRuleLike in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.AggregationRuleNested<A> editAggregationRule()
editAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRule()
editOrNewAggregationRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRuleLike(AggregationRule item)
editOrNewAggregationRuleLike in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public String getApiVersion()
getApiVersion in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A withApiVersion(String apiVersion)
withApiVersion in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasApiVersion()
hasApiVersion in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public String getKind()
getKind in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A withKind(String kind)
withKind in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasKind()
hasKind in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>@Deprecated public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
getMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public io.fabric8.kubernetes.api.model.ObjectMeta buildMetadata()
buildMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
withMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasMetadata()
hasMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.MetadataNested<A> withNewMetadata()
withNewMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.MetadataNested<A> withNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
withNewMetadataLike in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.MetadataNested<A> editMetadata()
editMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.MetadataNested<A> editOrNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
editOrNewMetadataLike in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A addToRules(int index, PolicyRule item)
addToRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A setToRules(int index, PolicyRule item)
setToRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A addToRules(PolicyRule... items)
addToRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A addAllToRules(Collection<PolicyRule> items)
addAllToRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A removeFromRules(PolicyRule... items)
removeFromRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A removeAllFromRules(Collection<PolicyRule> items)
removeAllFromRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A removeMatchingFromRules(Predicate<PolicyRuleBuilder> predicate)
removeMatchingFromRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>@Deprecated public List<PolicyRule> getRules()
getRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public List<PolicyRule> buildRules()
buildRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public PolicyRule buildRule(int index)
buildRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public PolicyRule buildFirstRule()
buildFirstRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public PolicyRule buildLastRule()
buildLastRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public PolicyRule buildMatchingRule(Predicate<PolicyRuleBuilder> predicate)
buildMatchingRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasMatchingRule(Predicate<PolicyRuleBuilder> predicate)
hasMatchingRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A withRules(List<PolicyRule> rules)
withRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A withRules(PolicyRule... rules)
withRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasRules()
hasRules in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> addNewRule()
addNewRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> addNewRuleLike(PolicyRule item)
addNewRuleLike in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> setNewRuleLike(int index, PolicyRule item)
setNewRuleLike in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> editRule(int index)
editRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> editFirstRule()
editFirstRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> editLastRule()
editLastRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public ClusterRoleFluent.RulesNested<A> editMatchingRule(Predicate<PolicyRuleBuilder> predicate)
editMatchingRule in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A addToAdditionalProperties(String key, Object value)
addToAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A removeFromAdditionalProperties(String key)
removeFromAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public A removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Map<String,Object> getAdditionalProperties()
getAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public Boolean hasAdditionalProperties()
hasAdditionalProperties in interface ClusterRoleFluent<A extends ClusterRoleFluent<A>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends ClusterRoleFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends ClusterRoleFluent<A>>Copyright © 2015–2023 Red Hat. All rights reserved.