Class LeaseListFluentImpl<A extends LeaseListFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.coordination.v1.LeaseListFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,LeaseListFluent<A>
- Direct Known Subclasses:
LeaseListBuilder
public class LeaseListFluentImpl<A extends LeaseListFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements LeaseListFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLeaseListFluentImpl.ItemsNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.coordination.v1.LeaseListFluent
LeaseListFluent.ItemsNested<N>
-
-
Constructor Summary
Constructors Constructor Description LeaseListFluentImpl()LeaseListFluentImpl(LeaseList instance)
-
Method Summary
-
-
-
Constructor Detail
-
LeaseListFluentImpl
public LeaseListFluentImpl()
-
LeaseListFluentImpl
public LeaseListFluentImpl(LeaseList instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
addToItems
public A addToItems(int index, Lease item)
- Specified by:
addToItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
setToItems
public A setToItems(int index, Lease item)
- Specified by:
setToItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
addToItems
public A addToItems(Lease... items)
- Specified by:
addToItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
addAllToItems
public A addAllToItems(Collection<Lease> items)
- Specified by:
addAllToItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
removeFromItems
public A removeFromItems(Lease... items)
- Specified by:
removeFromItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
removeAllFromItems
public A removeAllFromItems(Collection<Lease> items)
- Specified by:
removeAllFromItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
removeMatchingFromItems
public A removeMatchingFromItems(Predicate<LeaseBuilder> predicate)
- Specified by:
removeMatchingFromItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
getItems
@Deprecated public List<Lease> getItems()
Deprecated.This method has been deprecated, please use method buildItems instead.- Specified by:
getItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>- Returns:
- The buildable object.
-
buildItems
public List<Lease> buildItems()
- Specified by:
buildItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
buildItem
public Lease buildItem(int index)
- Specified by:
buildItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
buildFirstItem
public Lease buildFirstItem()
- Specified by:
buildFirstItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
buildLastItem
public Lease buildLastItem()
- Specified by:
buildLastItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
buildMatchingItem
public Lease buildMatchingItem(Predicate<LeaseBuilder> predicate)
- Specified by:
buildMatchingItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
hasMatchingItem
public Boolean hasMatchingItem(Predicate<LeaseBuilder> predicate)
- Specified by:
hasMatchingItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withItems
public A withItems(List<Lease> items)
- Specified by:
withItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withItems
public A withItems(Lease... items)
- Specified by:
withItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
hasItems
public Boolean hasItems()
- Specified by:
hasItemsin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
addNewItem
public LeaseListFluent.ItemsNested<A> addNewItem()
- Specified by:
addNewItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
addNewItemLike
public LeaseListFluent.ItemsNested<A> addNewItemLike(Lease item)
- Specified by:
addNewItemLikein interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
setNewItemLike
public LeaseListFluent.ItemsNested<A> setNewItemLike(int index, Lease item)
- Specified by:
setNewItemLikein interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
editItem
public LeaseListFluent.ItemsNested<A> editItem(int index)
- Specified by:
editItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
editFirstItem
public LeaseListFluent.ItemsNested<A> editFirstItem()
- Specified by:
editFirstItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
editLastItem
public LeaseListFluent.ItemsNested<A> editLastItem()
- Specified by:
editLastItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
editMatchingItem
public LeaseListFluent.ItemsNested<A> editMatchingItem(Predicate<LeaseBuilder> predicate)
- Specified by:
editMatchingItemin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
getMetadata
public io.fabric8.kubernetes.api.model.ListMeta getMetadata()
- Specified by:
getMetadatain interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withMetadata
public A withMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)
- Specified by:
withMetadatain interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
withNewMetadata
public A withNewMetadata(String _continue, Long remainingItemCount, String resourceVersion, String selfLink)
- Specified by:
withNewMetadatain interfaceLeaseListFluent<A extends LeaseListFluent<A>>
-
-