Class V1ClusterRoleFluentImpl<A extends V1ClusterRoleFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1ClusterRoleFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1ClusterRoleFluent<A>
- Direct Known Subclasses:
V1ClusterRoleBuilder
public class V1ClusterRoleFluentImpl<A extends V1ClusterRoleFluent<A>>
extends BaseFluent<A>
implements V1ClusterRoleFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1ClusterRoleFluent
V1ClusterRoleFluent.AggregationRuleNested<N>, V1ClusterRoleFluent.MetadataNested<N>, V1ClusterRoleFluent.RulesNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
ConstructorsConstructorDescriptionV1ClusterRoleFluentImpl
(io.kubernetes.client.openapi.models.V1ClusterRole instance) -
Method Summary
Modifier and TypeMethodDescriptionaddAllToRules
(Collection<io.kubernetes.client.openapi.models.V1PolicyRule> items) addNewRuleLike
(io.kubernetes.client.openapi.models.V1PolicyRule item) addToRules
(io.kubernetes.client.openapi.models.V1PolicyRule... items) addToRules
(Integer index, io.kubernetes.client.openapi.models.V1PolicyRule item) io.kubernetes.client.openapi.models.V1AggregationRule
io.kubernetes.client.openapi.models.V1PolicyRule
io.kubernetes.client.openapi.models.V1PolicyRule
io.kubernetes.client.openapi.models.V1PolicyRule
buildMatchingRule
(Predicate<V1PolicyRuleBuilder> predicate) io.kubernetes.client.openapi.models.V1ObjectMeta
io.kubernetes.client.openapi.models.V1PolicyRule
List<io.kubernetes.client.openapi.models.V1PolicyRule>
editMatchingRule
(Predicate<V1PolicyRuleBuilder> predicate) editOrNewAggregationRuleLike
(io.kubernetes.client.openapi.models.V1AggregationRule item) editOrNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) boolean
io.kubernetes.client.openapi.models.V1AggregationRule
Deprecated.getKind()
io.kubernetes.client.openapi.models.V1ObjectMeta
Deprecated.List<io.kubernetes.client.openapi.models.V1PolicyRule>
getRules()
Deprecated.int
hashCode()
hasKind()
hasMatchingRule
(Predicate<V1PolicyRuleBuilder> predicate) hasRules()
removeAllFromRules
(Collection<io.kubernetes.client.openapi.models.V1PolicyRule> items) removeFromRules
(io.kubernetes.client.openapi.models.V1PolicyRule... items) removeMatchingFromRules
(Predicate<V1PolicyRuleBuilder> predicate) setNewRuleLike
(Integer index, io.kubernetes.client.openapi.models.V1PolicyRule item) setToRules
(Integer index, io.kubernetes.client.openapi.models.V1PolicyRule item) toString()
withAggregationRule
(io.kubernetes.client.openapi.models.V1AggregationRule aggregationRule) withApiVersion
(String apiVersion) withMetadata
(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) withNewAggregationRuleLike
(io.kubernetes.client.openapi.models.V1AggregationRule item) withNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) withRules
(io.kubernetes.client.openapi.models.V1PolicyRule... rules) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1ClusterRoleFluentImpl
public V1ClusterRoleFluentImpl() -
V1ClusterRoleFluentImpl
public V1ClusterRoleFluentImpl(io.kubernetes.client.openapi.models.V1ClusterRole instance)
-
-
Method Details
-
getAggregationRule
Deprecated.This method has been deprecated, please use method buildAggregationRule instead.- Specified by:
getAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
- Returns:
- The buildable object.
-
buildAggregationRule
public io.kubernetes.client.openapi.models.V1AggregationRule buildAggregationRule()- Specified by:
buildAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withAggregationRule
- Specified by:
withAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
hasAggregationRule
- Specified by:
hasAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withNewAggregationRule
- Specified by:
withNewAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withNewAggregationRuleLike
public V1ClusterRoleFluent.AggregationRuleNested<A> withNewAggregationRuleLike(io.kubernetes.client.openapi.models.V1AggregationRule item) - Specified by:
withNewAggregationRuleLike
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editAggregationRule
- Specified by:
editAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editOrNewAggregationRule
- Specified by:
editOrNewAggregationRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editOrNewAggregationRuleLike
public V1ClusterRoleFluent.AggregationRuleNested<A> editOrNewAggregationRuleLike(io.kubernetes.client.openapi.models.V1AggregationRule item) - Specified by:
editOrNewAggregationRuleLike
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
getApiVersion
- Specified by:
getApiVersion
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withApiVersion
- Specified by:
withApiVersion
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
hasApiVersion
- Specified by:
hasApiVersion
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
getKind
- Specified by:
getKind
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withKind
- Specified by:
withKind
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
hasKind
- Specified by:
hasKind
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
getMetadata
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata()- Specified by:
buildMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withMetadata
- Specified by:
withMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
hasMetadata
- Specified by:
hasMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withNewMetadata
- Specified by:
withNewMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withNewMetadataLike
public V1ClusterRoleFluent.MetadataNested<A> withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
withNewMetadataLike
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editMetadata
- Specified by:
editMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editOrNewMetadata
- Specified by:
editOrNewMetadata
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editOrNewMetadataLike
public V1ClusterRoleFluent.MetadataNested<A> editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
editOrNewMetadataLike
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
addToRules
- Specified by:
addToRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
setToRules
- Specified by:
setToRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
addToRules
- Specified by:
addToRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
addAllToRules
- Specified by:
addAllToRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
removeFromRules
- Specified by:
removeFromRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
removeAllFromRules
- Specified by:
removeAllFromRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
removeMatchingFromRules
- Specified by:
removeMatchingFromRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
getRules
Deprecated.This method has been deprecated, please use method buildRules instead.- Specified by:
getRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
- Returns:
- The buildable object.
-
buildRules
- Specified by:
buildRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
buildRule
- Specified by:
buildRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
buildFirstRule
public io.kubernetes.client.openapi.models.V1PolicyRule buildFirstRule()- Specified by:
buildFirstRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
buildLastRule
public io.kubernetes.client.openapi.models.V1PolicyRule buildLastRule()- Specified by:
buildLastRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
buildMatchingRule
public io.kubernetes.client.openapi.models.V1PolicyRule buildMatchingRule(Predicate<V1PolicyRuleBuilder> predicate) - Specified by:
buildMatchingRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
hasMatchingRule
- Specified by:
hasMatchingRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withRules
- Specified by:
withRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
withRules
- Specified by:
withRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
hasRules
- Specified by:
hasRules
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
addNewRule
- Specified by:
addNewRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
addNewRuleLike
public V1ClusterRoleFluent.RulesNested<A> addNewRuleLike(io.kubernetes.client.openapi.models.V1PolicyRule item) - Specified by:
addNewRuleLike
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
setNewRuleLike
public V1ClusterRoleFluent.RulesNested<A> setNewRuleLike(Integer index, io.kubernetes.client.openapi.models.V1PolicyRule item) - Specified by:
setNewRuleLike
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editRule
- Specified by:
editRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editFirstRule
- Specified by:
editFirstRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editLastRule
- Specified by:
editLastRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
editMatchingRule
public V1ClusterRoleFluent.RulesNested<A> editMatchingRule(Predicate<V1PolicyRuleBuilder> predicate) - Specified by:
editMatchingRule
in interfaceV1ClusterRoleFluent<A extends V1ClusterRoleFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1ClusterRoleFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1ClusterRoleFluent<A>>
-
toString
-