Class JobFluentImpl<A extends JobFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.batch.JobFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,JobFluent<A>
- Direct Known Subclasses:
JobBuilder,JobListFluentImpl.ItemsNestedImpl
public class JobFluentImpl<A extends JobFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements JobFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJobFluentImpl.MetadataNestedImpl<N>classJobFluentImpl.SpecNestedImpl<N>classJobFluentImpl.StatusNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.batch.JobFluent
JobFluent.MetadataNested<N>, JobFluent.SpecNested<N>, JobFluent.StatusNested<N>
-
-
Constructor Summary
Constructors Constructor Description JobFluentImpl()JobFluentImpl(Job instance)
-
Method Summary
-
-
-
Constructor Detail
-
JobFluentImpl
public JobFluentImpl()
-
JobFluentImpl
public JobFluentImpl(Job instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceJobFluent<A extends JobFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceJobFluent<A extends JobFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceJobFluent<A extends JobFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceJobFluent<A extends JobFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceJobFluent<A extends JobFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceJobFluent<A extends JobFluent<A>>
-
getKind
public String getKind()
-
hasKind
public Boolean hasKind()
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceJobFluent<A extends JobFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceJobFluent<A extends JobFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceJobFluent<A extends JobFluent<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 interfaceJobFluent<A extends JobFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta buildMetadata()
- Specified by:
buildMetadatain interfaceJobFluent<A extends JobFluent<A>>
-
withMetadata
public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
- Specified by:
withMetadatain interfaceJobFluent<A extends JobFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfaceJobFluent<A extends JobFluent<A>>
-
withNewMetadata
public JobFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfaceJobFluent<A extends JobFluent<A>>
-
withNewMetadataLike
public JobFluent.MetadataNested<A> withNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
- Specified by:
withNewMetadataLikein interfaceJobFluent<A extends JobFluent<A>>
-
editMetadata
public JobFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfaceJobFluent<A extends JobFluent<A>>
-
editOrNewMetadata
public JobFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfaceJobFluent<A extends JobFluent<A>>
-
editOrNewMetadataLike
public JobFluent.MetadataNested<A> editOrNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
- Specified by:
editOrNewMetadataLikein interfaceJobFluent<A extends JobFluent<A>>
-
getSpec
@Deprecated public JobSpec getSpec()
Deprecated.This method has been deprecated, please use method buildSpec instead.
-
buildSpec
public JobSpec buildSpec()
-
hasSpec
public Boolean hasSpec()
-
withNewSpec
public JobFluent.SpecNested<A> withNewSpec()
- Specified by:
withNewSpecin interfaceJobFluent<A extends JobFluent<A>>
-
withNewSpecLike
public JobFluent.SpecNested<A> withNewSpecLike(JobSpec item)
- Specified by:
withNewSpecLikein interfaceJobFluent<A extends JobFluent<A>>
-
editSpec
public JobFluent.SpecNested<A> editSpec()
-
editOrNewSpec
public JobFluent.SpecNested<A> editOrNewSpec()
- Specified by:
editOrNewSpecin interfaceJobFluent<A extends JobFluent<A>>
-
editOrNewSpecLike
public JobFluent.SpecNested<A> editOrNewSpecLike(JobSpec item)
- Specified by:
editOrNewSpecLikein interfaceJobFluent<A extends JobFluent<A>>
-
getStatus
@Deprecated public JobStatus getStatus()
Deprecated.This method has been deprecated, please use method buildStatus instead.
-
buildStatus
public JobStatus buildStatus()
- Specified by:
buildStatusin interfaceJobFluent<A extends JobFluent<A>>
-
withStatus
public A withStatus(JobStatus status)
- Specified by:
withStatusin interfaceJobFluent<A extends JobFluent<A>>
-
hasStatus
public Boolean hasStatus()
-
withNewStatus
public JobFluent.StatusNested<A> withNewStatus()
- Specified by:
withNewStatusin interfaceJobFluent<A extends JobFluent<A>>
-
withNewStatusLike
public JobFluent.StatusNested<A> withNewStatusLike(JobStatus item)
- Specified by:
withNewStatusLikein interfaceJobFluent<A extends JobFluent<A>>
-
editStatus
public JobFluent.StatusNested<A> editStatus()
- Specified by:
editStatusin interfaceJobFluent<A extends JobFluent<A>>
-
editOrNewStatus
public JobFluent.StatusNested<A> editOrNewStatus()
- Specified by:
editOrNewStatusin interfaceJobFluent<A extends JobFluent<A>>
-
editOrNewStatusLike
public JobFluent.StatusNested<A> editOrNewStatusLike(JobStatus item)
- Specified by:
editOrNewStatusLikein interfaceJobFluent<A extends JobFluent<A>>
-
-