@Generated(value="org.jsonschema2pojo") public class JobSpec extends Object implements KubernetesResource
Constructor and Description |
---|
JobSpec()
No args constructor for use in serialization
|
JobSpec(Long activeDeadlineSeconds,
Integer completions,
Boolean manualSelector,
Integer parallelism,
LabelSelector selector,
PodTemplateSpec template) |
Modifier and Type | Method and Description |
---|---|
Long |
getActiveDeadlineSeconds() |
Map<String,Object> |
getAdditionalProperties() |
Integer |
getCompletions() |
Boolean |
getManualSelector() |
Integer |
getParallelism() |
LabelSelector |
getSelector() |
PodTemplateSpec |
getTemplate() |
void |
setActiveDeadlineSeconds(Long activeDeadlineSeconds) |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCompletions(Integer completions) |
void |
setManualSelector(Boolean manualSelector) |
void |
setParallelism(Integer parallelism) |
void |
setSelector(LabelSelector selector) |
void |
setTemplate(PodTemplateSpec template) |
public JobSpec()
public JobSpec(Long activeDeadlineSeconds, Integer completions, Boolean manualSelector, Integer parallelism, LabelSelector selector, PodTemplateSpec template)
template
- manualSelector
- parallelism
- completions
- selector
- activeDeadlineSeconds
- public Long getActiveDeadlineSeconds()
public void setActiveDeadlineSeconds(Long activeDeadlineSeconds)
activeDeadlineSeconds
- The activeDeadlineSecondspublic Integer getCompletions()
public void setCompletions(Integer completions)
completions
- The completionspublic Boolean getManualSelector()
public void setManualSelector(Boolean manualSelector)
manualSelector
- The manualSelectorpublic Integer getParallelism()
public void setParallelism(Integer parallelism)
parallelism
- The parallelismpublic LabelSelector getSelector()
public void setSelector(LabelSelector selector)
selector
- The selectorpublic PodTemplateSpec getTemplate()
public void setTemplate(PodTemplateSpec template)
template
- The templateCopyright © 2011–2017 Red Hat. All rights reserved.