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) |
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 Boolean hasApiVersion()
hasApiVersion 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 Boolean hasKind()
hasKind 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 Boolean hasLastModified()
hasLastModified in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>@Deprecated public ObjectMeta getMetadata()
getMetadata in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public ObjectMeta buildMetadata()
buildMetadata in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public A withMetadata(ObjectMeta metadata)
withMetadata in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public Boolean hasMetadata()
hasMetadata 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(int index, NamedClusterRole item)
addToRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public A setToRoles(int index, NamedClusterRole item)
setToRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public A addToRoles(NamedClusterRole... items)
addToRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public A addAllToRoles(Collection<NamedClusterRole> items)
addAllToRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public A removeFromRoles(NamedClusterRole... items)
removeFromRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public A removeAllFromRoles(Collection<NamedClusterRole> items)
removeAllFromRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>@Deprecated public List<NamedClusterRole> getRoles()
getRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public List<NamedClusterRole> buildRoles()
buildRoles in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public NamedClusterRole buildRole(int index)
buildRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public NamedClusterRole buildFirstRole()
buildFirstRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public NamedClusterRole buildLastRole()
buildLastRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public NamedClusterRole buildMatchingRole(Predicate<NamedClusterRoleBuilder> predicate)
buildMatchingRole 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 Boolean hasRoles()
hasRoles 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>>public ClusterPolicyFluent.RolesNested<A> setNewRoleLike(int index, NamedClusterRole item)
setNewRoleLike in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public ClusterPolicyFluent.RolesNested<A> editRole(int index)
editRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public ClusterPolicyFluent.RolesNested<A> editFirstRole()
editFirstRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public ClusterPolicyFluent.RolesNested<A> editLastRole()
editLastRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>public ClusterPolicyFluent.RolesNested<A> editMatchingRole(Predicate<NamedClusterRoleBuilder> predicate)
editMatchingRole in interface ClusterPolicyFluent<A extends ClusterPolicyFluent<A>>Copyright © 2011–2018 Red Hat. All rights reserved.