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