public class PodSecurityPolicyListFluentImpl<A extends PodSecurityPolicyListFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements PodSecurityPolicyListFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodSecurityPolicyListFluentImpl.ItemsNestedImpl<N> |
PodSecurityPolicyListFluent.ItemsNested<N>
Constructor and Description |
---|
PodSecurityPolicyListFluentImpl() |
PodSecurityPolicyListFluentImpl(PodSecurityPolicyList instance) |
public PodSecurityPolicyListFluentImpl()
public PodSecurityPolicyListFluentImpl(PodSecurityPolicyList instance)
public String getApiVersion()
getApiVersion
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewApiVersion(String arg1)
withNewApiVersion
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewApiVersion(StringBuilder arg1)
withNewApiVersion
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewApiVersion(StringBuffer arg1)
withNewApiVersion
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A addToItems(int index, PodSecurityPolicy item)
addToItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A setToItems(int index, PodSecurityPolicy item)
setToItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A addToItems(PodSecurityPolicy... items)
addToItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A addAllToItems(Collection<PodSecurityPolicy> items)
addAllToItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A removeFromItems(PodSecurityPolicy... items)
removeFromItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A removeAllFromItems(Collection<PodSecurityPolicy> items)
removeAllFromItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A removeMatchingFromItems(io.fabric8.kubernetes.api.builder.Predicate<PodSecurityPolicyBuilder> predicate)
removeMatchingFromItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
@Deprecated public List<PodSecurityPolicy> getItems()
getItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public List<PodSecurityPolicy> buildItems()
buildItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicy buildItem(int index)
buildItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicy buildFirstItem()
buildFirstItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicy buildLastItem()
buildLastItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicy buildMatchingItem(io.fabric8.kubernetes.api.builder.Predicate<PodSecurityPolicyBuilder> predicate)
buildMatchingItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public Boolean hasMatchingItem(io.fabric8.kubernetes.api.builder.Predicate<PodSecurityPolicyBuilder> predicate)
hasMatchingItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withItems(List<PodSecurityPolicy> items)
withItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withItems(PodSecurityPolicy... items)
withItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public Boolean hasItems()
hasItems
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> addNewItem()
addNewItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> addNewItemLike(PodSecurityPolicy item)
addNewItemLike
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> setNewItemLike(int index, PodSecurityPolicy item)
setNewItemLike
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> editItem(int index)
editItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> editFirstItem()
editFirstItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> editLastItem()
editLastItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public PodSecurityPolicyListFluent.ItemsNested<A> editMatchingItem(io.fabric8.kubernetes.api.builder.Predicate<PodSecurityPolicyBuilder> predicate)
editMatchingItem
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public String getKind()
getKind
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withKind(String kind)
withKind
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public Boolean hasKind()
hasKind
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewKind(String arg1)
withNewKind
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewKind(StringBuilder arg1)
withNewKind
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewKind(StringBuffer arg1)
withNewKind
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public io.fabric8.kubernetes.api.model.ListMeta getMetadata()
getMetadata
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)
withMetadata
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
public A withNewMetadata(String _continue, Long remainingItemCount, String resourceVersion, String selfLink)
withNewMetadata
in interface PodSecurityPolicyListFluent<A extends PodSecurityPolicyListFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.