public class ClusterPolicyFluentImpl<A extends ClusterPolicyFluent<A>> extends BaseFluent<A> implements ClusterPolicyFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ClusterPolicyFluentImpl.MetadataNestedImpl<N> |
class |
ClusterPolicyFluentImpl.RolesNestedImpl<N> |
ClusterPolicyFluent.MetadataNested<N>, ClusterPolicyFluent.RolesNested<N>
_visitables
Constructor and Description |
---|
ClusterPolicyFluentImpl() |
ClusterPolicyFluentImpl(ClusterPolicy instance) |
Modifier and Type | Method and Description |
---|---|
ClusterPolicyFluent.RolesNested<A> |
addNewRole() |
ClusterPolicyFluent.RolesNested<A> |
addNewRoleLike(NamedClusterRole item) |
A |
addToRoles(NamedClusterRole... items) |
ClusterPolicyFluent.MetadataNested<A> |
editMetadata() |
ClusterPolicyFluent.MetadataNested<A> |
editOrNewMetadata() |
ClusterPolicyFluent.MetadataNested<A> |
editOrNewMetadataLike(ObjectMeta item) |
boolean |
equals(Object o) |
String |
getApiVersion() |
String |
getKind() |
String |
getLastModified() |
ObjectMeta |
getMetadata() |
List<NamedClusterRole> |
getRoles() |
A |
removeFromRoles(NamedClusterRole... items) |
A |
withApiVersion(String apiVersion) |
A |
withKind(String kind) |
A |
withLastModified(String lastModified) |
A |
withMetadata(ObjectMeta metadata) |
ClusterPolicyFluent.MetadataNested<A> |
withNewMetadata() |
ClusterPolicyFluent.MetadataNested<A> |
withNewMetadataLike(ObjectMeta item) |
A |
withRoles(List<NamedClusterRole> roles) |
A |
withRoles(NamedClusterRole... roles) |
public ClusterPolicyFluentImpl()
public ClusterPolicyFluentImpl(ClusterPolicy instance)
public String getApiVersion()
getApiVersion
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public String getKind()
getKind
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A withKind(String kind)
withKind
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public String getLastModified()
getLastModified
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A withLastModified(String lastModified)
withLastModified
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ObjectMeta getMetadata()
getMetadata
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.MetadataNested<A> editMetadata()
editMetadata
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A addToRoles(NamedClusterRole... items)
addToRoles
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A removeFromRoles(NamedClusterRole... items)
removeFromRoles
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public List<NamedClusterRole> getRoles()
getRoles
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A withRoles(List<NamedClusterRole> roles)
withRoles
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public A withRoles(NamedClusterRole... roles)
withRoles
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.RolesNested<A> addNewRole()
addNewRole
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
public ClusterPolicyFluent.RolesNested<A> addNewRoleLike(NamedClusterRole item)
addNewRoleLike
in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.