public class ClusterPolicyListFluentImpl<A extends ClusterPolicyListFluent<A>> extends BaseFluent<A> implements ClusterPolicyListFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ClusterPolicyListFluentImpl.ItemsNestedImpl<N> |
class |
ClusterPolicyListFluentImpl.MetadataNestedImpl<N> |
ClusterPolicyListFluent.ItemsNested<N>, ClusterPolicyListFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
ClusterPolicyListFluentImpl() |
ClusterPolicyListFluentImpl(ClusterPolicyList instance) |
Modifier and Type | Method and Description |
---|---|
ClusterPolicyListFluent.ItemsNested<A> |
addNewItem() |
ClusterPolicyListFluent.ItemsNested<A> |
addNewItemLike(ClusterPolicy item) |
A |
addToItems(ClusterPolicy... items) |
ClusterPolicyListFluent.MetadataNested<A> |
editMetadata() |
ClusterPolicyListFluent.MetadataNested<A> |
editOrNewMetadata() |
ClusterPolicyListFluent.MetadataNested<A> |
editOrNewMetadataLike(ListMeta item) |
boolean |
equals(Object o) |
String |
getApiVersion() |
List<ClusterPolicy> |
getItems() |
String |
getKind() |
ListMeta |
getMetadata() |
A |
removeFromItems(ClusterPolicy... items) |
A |
withApiVersion(String apiVersion) |
A |
withItems(ClusterPolicy... items) |
A |
withItems(List<ClusterPolicy> items) |
A |
withKind(String kind) |
A |
withMetadata(ListMeta metadata) |
ClusterPolicyListFluent.MetadataNested<A> |
withNewMetadata() |
A |
withNewMetadata(String resourceVersion,
String selfLink) |
ClusterPolicyListFluent.MetadataNested<A> |
withNewMetadataLike(ListMeta item) |
public ClusterPolicyListFluentImpl()
public ClusterPolicyListFluentImpl(ClusterPolicyList instance)
public String getApiVersion()
getApiVersion
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A addToItems(ClusterPolicy... items)
addToItems
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A removeFromItems(ClusterPolicy... items)
removeFromItems
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public List<ClusterPolicy> getItems()
getItems
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A withItems(List<ClusterPolicy> items)
withItems
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A withItems(ClusterPolicy... items)
withItems
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.ItemsNested<A> addNewItem()
addNewItem
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.ItemsNested<A> addNewItemLike(ClusterPolicy item)
addNewItemLike
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public String getKind()
getKind
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A withKind(String kind)
withKind
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ListMeta getMetadata()
getMetadata
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A withMetadata(ListMeta metadata)
withMetadata
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.MetadataNested<A> withNewMetadataLike(ListMeta item)
withNewMetadataLike
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.MetadataNested<A> editMetadata()
editMetadata
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public ClusterPolicyListFluent.MetadataNested<A> editOrNewMetadataLike(ListMeta item)
editOrNewMetadataLike
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
public A withNewMetadata(String resourceVersion, String selfLink)
withNewMetadata
in interface ClusterPolicyListFluent<A extends ClusterPolicyListFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.