Class LeaseFluentImpl<A extends LeaseFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.coordination.v1.LeaseFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,LeaseFluent<A>
- Direct Known Subclasses:
LeaseBuilder,LeaseListFluentImpl.ItemsNestedImpl
public class LeaseFluentImpl<A extends LeaseFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements LeaseFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLeaseFluentImpl.MetadataNestedImpl<N>classLeaseFluentImpl.SpecNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.coordination.v1.LeaseFluent
LeaseFluent.MetadataNested<N>, LeaseFluent.SpecNested<N>
-
-
Constructor Summary
Constructors Constructor Description LeaseFluentImpl()LeaseFluentImpl(Lease instance)
-
Method Summary
-
-
-
Constructor Detail
-
LeaseFluentImpl
public LeaseFluentImpl()
-
LeaseFluentImpl
public LeaseFluentImpl(Lease instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
getMetadata
@Deprecated public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta buildMetadata()
- Specified by:
buildMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withMetadata
public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
- Specified by:
withMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewMetadata
public LeaseFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewMetadataLike
public LeaseFluent.MetadataNested<A> withNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
- Specified by:
withNewMetadataLikein interfaceLeaseFluent<A extends LeaseFluent<A>>
-
editMetadata
public LeaseFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>
-
editOrNewMetadata
public LeaseFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfaceLeaseFluent<A extends LeaseFluent<A>>
-
editOrNewMetadataLike
public LeaseFluent.MetadataNested<A> editOrNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
- Specified by:
editOrNewMetadataLikein interfaceLeaseFluent<A extends LeaseFluent<A>>
-
getSpec
@Deprecated public LeaseSpec getSpec()
Deprecated.This method has been deprecated, please use method buildSpec instead.- Specified by:
getSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>- Returns:
- The buildable object.
-
buildSpec
public LeaseSpec buildSpec()
- Specified by:
buildSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withSpec
public A withSpec(LeaseSpec spec)
- Specified by:
withSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
hasSpec
public Boolean hasSpec()
- Specified by:
hasSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewSpec
public LeaseFluent.SpecNested<A> withNewSpec()
- Specified by:
withNewSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
withNewSpecLike
public LeaseFluent.SpecNested<A> withNewSpecLike(LeaseSpec item)
- Specified by:
withNewSpecLikein interfaceLeaseFluent<A extends LeaseFluent<A>>
-
editSpec
public LeaseFluent.SpecNested<A> editSpec()
- Specified by:
editSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
editOrNewSpec
public LeaseFluent.SpecNested<A> editOrNewSpec()
- Specified by:
editOrNewSpecin interfaceLeaseFluent<A extends LeaseFluent<A>>
-
editOrNewSpecLike
public LeaseFluent.SpecNested<A> editOrNewSpecLike(LeaseSpec item)
- Specified by:
editOrNewSpecLikein interfaceLeaseFluent<A extends LeaseFluent<A>>
-
-