public interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>> extends Fluent<A>
Modifier and Type | Interface and Description |
---|---|
static interface |
ClusterPolicyFluent.MetadataNested<N> |
static interface |
ClusterPolicyFluent.RolesNested<N> |
Modifier and Type | Method and Description |
---|---|
ClusterPolicyFluent.RolesNested<A> |
addNewRole() |
ClusterPolicyFluent.RolesNested<A> |
addNewRoleLike(NamedClusterRole item) |
A |
addToRoles(NamedClusterRole... items) |
ClusterPolicyFluent.MetadataNested<A> |
editMetadata() |
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) |
String getApiVersion()
String getKind()
String getLastModified()
ObjectMeta getMetadata()
A withMetadata(ObjectMeta metadata)
ClusterPolicyFluent.MetadataNested<A> withNewMetadata()
ClusterPolicyFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
ClusterPolicyFluent.MetadataNested<A> editMetadata()
A addToRoles(NamedClusterRole... items)
A removeFromRoles(NamedClusterRole... items)
List<NamedClusterRole> getRoles()
A withRoles(List<NamedClusterRole> roles)
A withRoles(NamedClusterRole... roles)
ClusterPolicyFluent.RolesNested<A> addNewRole()
ClusterPolicyFluent.RolesNested<A> addNewRoleLike(NamedClusterRole item)
Copyright © 2011–2016 Red Hat. All rights reserved.