Class V1RoleFluentImpl<A extends V1RoleFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1RoleFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1RoleFluent<A>
- Direct Known Subclasses:
V1RoleBuilder
public class V1RoleFluentImpl<A extends V1RoleFluent<A>>
extends BaseFluent<A>
implements V1RoleFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1RoleFluent
V1RoleFluent.MetadataNested<N>, V1RoleFluent.RulesNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
Constructors -
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.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) editOrNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) boolean
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()
withApiVersion
(String apiVersion) withMetadata
(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) 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
-
V1RoleFluentImpl
public V1RoleFluentImpl() -
V1RoleFluentImpl
public V1RoleFluentImpl(io.kubernetes.client.openapi.models.V1Role instance)
-
-
Method Details
-
getApiVersion
- Specified by:
getApiVersion
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withApiVersion
- Specified by:
withApiVersion
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
hasApiVersion
- Specified by:
hasApiVersion
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
getKind
- Specified by:
getKind
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withKind
- Specified by:
withKind
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
hasKind
- Specified by:
hasKind
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
getMetadata
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata()- Specified by:
buildMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withMetadata
- Specified by:
withMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
hasMetadata
- Specified by:
hasMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withNewMetadata
- Specified by:
withNewMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withNewMetadataLike
public V1RoleFluent.MetadataNested<A> withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
withNewMetadataLike
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editMetadata
- Specified by:
editMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editOrNewMetadata
- Specified by:
editOrNewMetadata
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editOrNewMetadataLike
public V1RoleFluent.MetadataNested<A> editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
editOrNewMetadataLike
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
addToRules
- Specified by:
addToRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
setToRules
- Specified by:
setToRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
addToRules
- Specified by:
addToRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
addAllToRules
- Specified by:
addAllToRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
removeFromRules
- Specified by:
removeFromRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
removeAllFromRules
- Specified by:
removeAllFromRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
removeMatchingFromRules
- Specified by:
removeMatchingFromRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
getRules
Deprecated.This method has been deprecated, please use method buildRules instead.- Specified by:
getRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
- Returns:
- The buildable object.
-
buildRules
- Specified by:
buildRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
buildRule
- Specified by:
buildRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
buildFirstRule
public io.kubernetes.client.openapi.models.V1PolicyRule buildFirstRule()- Specified by:
buildFirstRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
buildLastRule
public io.kubernetes.client.openapi.models.V1PolicyRule buildLastRule()- Specified by:
buildLastRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
buildMatchingRule
public io.kubernetes.client.openapi.models.V1PolicyRule buildMatchingRule(Predicate<V1PolicyRuleBuilder> predicate) - Specified by:
buildMatchingRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
hasMatchingRule
- Specified by:
hasMatchingRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withRules
- Specified by:
withRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
withRules
- Specified by:
withRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
hasRules
- Specified by:
hasRules
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
addNewRule
- Specified by:
addNewRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
addNewRuleLike
public V1RoleFluent.RulesNested<A> addNewRuleLike(io.kubernetes.client.openapi.models.V1PolicyRule item) - Specified by:
addNewRuleLike
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
setNewRuleLike
public V1RoleFluent.RulesNested<A> setNewRuleLike(Integer index, io.kubernetes.client.openapi.models.V1PolicyRule item) - Specified by:
setNewRuleLike
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editRule
- Specified by:
editRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editFirstRule
- Specified by:
editFirstRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editLastRule
- Specified by:
editLastRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
editMatchingRule
- Specified by:
editMatchingRule
in interfaceV1RoleFluent<A extends V1RoleFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1RoleFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1RoleFluent<A>>
-
toString
-