Class JobSpecFluentImpl<A extends JobSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.batch.JobSpecFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,JobSpecFluent<A>
- Direct Known Subclasses:
JobFluentImpl.SpecNestedImpl,JobSpecBuilder,JobTemplateSpecFluentImpl.SpecNestedImpl
public class JobSpecFluentImpl<A extends JobSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements JobSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJobSpecFluentImpl.SelectorNestedImpl<N>classJobSpecFluentImpl.TemplateNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.batch.JobSpecFluent
JobSpecFluent.SelectorNested<N>, JobSpecFluent.TemplateNested<N>
-
-
Constructor Summary
Constructors Constructor Description JobSpecFluentImpl()JobSpecFluentImpl(JobSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
JobSpecFluentImpl
public JobSpecFluentImpl()
-
JobSpecFluentImpl
public JobSpecFluentImpl(JobSpec instance)
-
-
Method Detail
-
getActiveDeadlineSeconds
public Long getActiveDeadlineSeconds()
- Specified by:
getActiveDeadlineSecondsin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withActiveDeadlineSeconds
public A withActiveDeadlineSeconds(Long activeDeadlineSeconds)
- Specified by:
withActiveDeadlineSecondsin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasActiveDeadlineSeconds
public Boolean hasActiveDeadlineSeconds()
- Specified by:
hasActiveDeadlineSecondsin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
getBackoffLimit
public Integer getBackoffLimit()
- Specified by:
getBackoffLimitin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withBackoffLimit
public A withBackoffLimit(Integer backoffLimit)
- Specified by:
withBackoffLimitin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasBackoffLimit
public Boolean hasBackoffLimit()
- Specified by:
hasBackoffLimitin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
getCompletions
public Integer getCompletions()
- Specified by:
getCompletionsin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withCompletions
public A withCompletions(Integer completions)
- Specified by:
withCompletionsin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasCompletions
public Boolean hasCompletions()
- Specified by:
hasCompletionsin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
isManualSelector
public Boolean isManualSelector()
- Specified by:
isManualSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withManualSelector
public A withManualSelector(Boolean manualSelector)
- Specified by:
withManualSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasManualSelector
public Boolean hasManualSelector()
- Specified by:
hasManualSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withNewManualSelector
public A withNewManualSelector(String arg1)
- Specified by:
withNewManualSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withNewManualSelector
public A withNewManualSelector(boolean arg1)
- Specified by:
withNewManualSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
getParallelism
public Integer getParallelism()
- Specified by:
getParallelismin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withParallelism
public A withParallelism(Integer parallelism)
- Specified by:
withParallelismin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasParallelism
public Boolean hasParallelism()
- Specified by:
hasParallelismin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
getSelector
@Deprecated public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
Deprecated.This method has been deprecated, please use method buildSelector instead.- Specified by:
getSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>- Returns:
- The buildable object.
-
buildSelector
public io.fabric8.kubernetes.api.model.LabelSelector buildSelector()
- Specified by:
buildSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withSelector
public A withSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
- Specified by:
withSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasSelector
public Boolean hasSelector()
- Specified by:
hasSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withNewSelector
public JobSpecFluent.SelectorNested<A> withNewSelector()
- Specified by:
withNewSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withNewSelectorLike
public JobSpecFluent.SelectorNested<A> withNewSelectorLike(io.fabric8.kubernetes.api.model.LabelSelector item)
- Specified by:
withNewSelectorLikein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
editSelector
public JobSpecFluent.SelectorNested<A> editSelector()
- Specified by:
editSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
editOrNewSelector
public JobSpecFluent.SelectorNested<A> editOrNewSelector()
- Specified by:
editOrNewSelectorin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
editOrNewSelectorLike
public JobSpecFluent.SelectorNested<A> editOrNewSelectorLike(io.fabric8.kubernetes.api.model.LabelSelector item)
- Specified by:
editOrNewSelectorLikein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
getTemplate
@Deprecated public io.fabric8.kubernetes.api.model.PodTemplateSpec getTemplate()
Deprecated.This method has been deprecated, please use method buildTemplate instead.- Specified by:
getTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>- Returns:
- The buildable object.
-
buildTemplate
public io.fabric8.kubernetes.api.model.PodTemplateSpec buildTemplate()
- Specified by:
buildTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withTemplate
public A withTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
- Specified by:
withTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasTemplate
public Boolean hasTemplate()
- Specified by:
hasTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withNewTemplate
public JobSpecFluent.TemplateNested<A> withNewTemplate()
- Specified by:
withNewTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withNewTemplateLike
public JobSpecFluent.TemplateNested<A> withNewTemplateLike(io.fabric8.kubernetes.api.model.PodTemplateSpec item)
- Specified by:
withNewTemplateLikein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
editTemplate
public JobSpecFluent.TemplateNested<A> editTemplate()
- Specified by:
editTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
editOrNewTemplate
public JobSpecFluent.TemplateNested<A> editOrNewTemplate()
- Specified by:
editOrNewTemplatein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
editOrNewTemplateLike
public JobSpecFluent.TemplateNested<A> editOrNewTemplateLike(io.fabric8.kubernetes.api.model.PodTemplateSpec item)
- Specified by:
editOrNewTemplateLikein interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
getTtlSecondsAfterFinished
public Integer getTtlSecondsAfterFinished()
- Specified by:
getTtlSecondsAfterFinishedin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
withTtlSecondsAfterFinished
public A withTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
- Specified by:
withTtlSecondsAfterFinishedin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
hasTtlSecondsAfterFinished
public Boolean hasTtlSecondsAfterFinished()
- Specified by:
hasTtlSecondsAfterFinishedin interfaceJobSpecFluent<A extends JobSpecFluent<A>>
-
-