Class V1LeaseFluentImpl<A extends V1LeaseFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1LeaseFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1LeaseFluent<A>
- Direct Known Subclasses:
V1LeaseBuilder
public class V1LeaseFluentImpl<A extends V1LeaseFluent<A>>
extends BaseFluent<A>
implements V1LeaseFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1LeaseFluent
V1LeaseFluent.MetadataNested<N>, V1LeaseFluent.SpecNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.kubernetes.client.openapi.models.V1ObjectMeta
io.kubernetes.client.openapi.models.V1LeaseSpec
editOrNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) editOrNewSpecLike
(io.kubernetes.client.openapi.models.V1LeaseSpec item) editSpec()
boolean
getKind()
io.kubernetes.client.openapi.models.V1ObjectMeta
Deprecated.io.kubernetes.client.openapi.models.V1LeaseSpec
getSpec()
Deprecated.int
hashCode()
hasKind()
hasSpec()
toString()
withApiVersion
(String apiVersion) withMetadata
(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) withNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) withNewSpecLike
(io.kubernetes.client.openapi.models.V1LeaseSpec item) withSpec
(io.kubernetes.client.openapi.models.V1LeaseSpec spec) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1LeaseFluentImpl
public V1LeaseFluentImpl() -
V1LeaseFluentImpl
public V1LeaseFluentImpl(io.kubernetes.client.openapi.models.V1Lease instance)
-
-
Method Details
-
getApiVersion
- Specified by:
getApiVersion
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withApiVersion
- Specified by:
withApiVersion
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
hasApiVersion
- Specified by:
hasApiVersion
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
getKind
- Specified by:
getKind
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withKind
- Specified by:
withKind
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
hasKind
- Specified by:
hasKind
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
getMetadata
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata()- Specified by:
buildMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withMetadata
- Specified by:
withMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
hasMetadata
- Specified by:
hasMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withNewMetadata
- Specified by:
withNewMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withNewMetadataLike
public V1LeaseFluent.MetadataNested<A> withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
withNewMetadataLike
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
editMetadata
- Specified by:
editMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
editOrNewMetadata
- Specified by:
editOrNewMetadata
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
editOrNewMetadataLike
public V1LeaseFluent.MetadataNested<A> editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
editOrNewMetadataLike
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
getSpec
Deprecated.This method has been deprecated, please use method buildSpec instead.- Specified by:
getSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
- Returns:
- The buildable object.
-
buildSpec
public io.kubernetes.client.openapi.models.V1LeaseSpec buildSpec()- Specified by:
buildSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withSpec
- Specified by:
withSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
hasSpec
- Specified by:
hasSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withNewSpec
- Specified by:
withNewSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
withNewSpecLike
public V1LeaseFluent.SpecNested<A> withNewSpecLike(io.kubernetes.client.openapi.models.V1LeaseSpec item) - Specified by:
withNewSpecLike
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
editSpec
- Specified by:
editSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
editOrNewSpec
- Specified by:
editOrNewSpec
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
editOrNewSpecLike
public V1LeaseFluent.SpecNested<A> editOrNewSpecLike(io.kubernetes.client.openapi.models.V1LeaseSpec item) - Specified by:
editOrNewSpecLike
in interfaceV1LeaseFluent<A extends V1LeaseFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1LeaseFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1LeaseFluent<A>>
-
toString
-