Package io.fabric8.kubernetes.api.model
Class PersistentVolumeFluentImpl<A extends PersistentVolumeFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.PersistentVolumeFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,PersistentVolumeFluent<A>
- Direct Known Subclasses:
BaseKubernetesListFluentImpl.PersistentVolumeItemsNestedImpl
,KubeSchemaFluentImpl.PersistentVolumeNestedImpl
,NamedExtensionFluentImpl.PersistentVolumeExtensionNestedImpl
,PersistentVolumeBuilder
,PersistentVolumeListFluentImpl.ItemsNestedImpl
,WatchEventFluentImpl.PersistentVolumeObjectNestedImpl
public class PersistentVolumeFluentImpl<A extends PersistentVolumeFluent<A>> extends BaseFluent<A> implements PersistentVolumeFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PersistentVolumeFluentImpl.MetadataNestedImpl<N>
class
PersistentVolumeFluentImpl.SpecNestedImpl<N>
class
PersistentVolumeFluentImpl.StatusNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.PersistentVolumeFluent
PersistentVolumeFluent.MetadataNested<N>, PersistentVolumeFluent.SpecNested<N>, PersistentVolumeFluent.StatusNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description PersistentVolumeFluentImpl()
PersistentVolumeFluentImpl(PersistentVolume instance)
-
Method Summary
-
-
-
Constructor Detail
-
PersistentVolumeFluentImpl
public PersistentVolumeFluentImpl()
-
PersistentVolumeFluentImpl
public PersistentVolumeFluentImpl(PersistentVolume instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersion
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersion
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersion
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersion
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersion
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersion
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKind
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKind
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKind
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKind
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKind
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKind
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
getMetadata
@Deprecated public ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public ObjectMeta buildMetadata()
- Specified by:
buildMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withMetadata
public A withMetadata(ObjectMeta metadata)
- Specified by:
withMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewMetadata
public PersistentVolumeFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewMetadataLike
public PersistentVolumeFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
- Specified by:
withNewMetadataLike
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editMetadata
public PersistentVolumeFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editOrNewMetadata
public PersistentVolumeFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadata
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editOrNewMetadataLike
public PersistentVolumeFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
- Specified by:
editOrNewMetadataLike
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
getSpec
@Deprecated public PersistentVolumeSpec getSpec()
Deprecated.This method has been deprecated, please use method buildSpec instead.- Specified by:
getSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
- Returns:
- The buildable object.
-
buildSpec
public PersistentVolumeSpec buildSpec()
- Specified by:
buildSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withSpec
public A withSpec(PersistentVolumeSpec spec)
- Specified by:
withSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
hasSpec
public Boolean hasSpec()
- Specified by:
hasSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewSpec
public PersistentVolumeFluent.SpecNested<A> withNewSpec()
- Specified by:
withNewSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewSpecLike
public PersistentVolumeFluent.SpecNested<A> withNewSpecLike(PersistentVolumeSpec item)
- Specified by:
withNewSpecLike
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editSpec
public PersistentVolumeFluent.SpecNested<A> editSpec()
- Specified by:
editSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editOrNewSpec
public PersistentVolumeFluent.SpecNested<A> editOrNewSpec()
- Specified by:
editOrNewSpec
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editOrNewSpecLike
public PersistentVolumeFluent.SpecNested<A> editOrNewSpecLike(PersistentVolumeSpec item)
- Specified by:
editOrNewSpecLike
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
getStatus
@Deprecated public PersistentVolumeStatus getStatus()
Deprecated.This method has been deprecated, please use method buildStatus instead.- Specified by:
getStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
- Returns:
- The buildable object.
-
buildStatus
public PersistentVolumeStatus buildStatus()
- Specified by:
buildStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withStatus
public A withStatus(PersistentVolumeStatus status)
- Specified by:
withStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
hasStatus
public Boolean hasStatus()
- Specified by:
hasStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewStatus
public A withNewStatus(String message, String phase, String reason)
- Specified by:
withNewStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewStatus
public PersistentVolumeFluent.StatusNested<A> withNewStatus()
- Specified by:
withNewStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
withNewStatusLike
public PersistentVolumeFluent.StatusNested<A> withNewStatusLike(PersistentVolumeStatus item)
- Specified by:
withNewStatusLike
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editStatus
public PersistentVolumeFluent.StatusNested<A> editStatus()
- Specified by:
editStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editOrNewStatus
public PersistentVolumeFluent.StatusNested<A> editOrNewStatus()
- Specified by:
editOrNewStatus
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
editOrNewStatusLike
public PersistentVolumeFluent.StatusNested<A> editOrNewStatusLike(PersistentVolumeStatus item)
- Specified by:
editOrNewStatusLike
in interfacePersistentVolumeFluent<A extends PersistentVolumeFluent<A>>
-
-