@Generated(value="org.jsonschema2pojo") public class DeploymentSpec extends Object implements KubernetesResource
Constructor and Description |
---|
DeploymentSpec()
No args constructor for use in serialization
|
DeploymentSpec(Integer minReadySeconds,
Boolean paused,
Integer progressDeadlineSeconds,
Integer replicas,
Integer revisionHistoryLimit,
LabelSelector selector,
DeploymentStrategy strategy,
PodTemplateSpec template) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Integer |
getMinReadySeconds() |
Boolean |
getPaused() |
Integer |
getProgressDeadlineSeconds() |
Integer |
getReplicas() |
Integer |
getRevisionHistoryLimit() |
LabelSelector |
getSelector() |
DeploymentStrategy |
getStrategy() |
PodTemplateSpec |
getTemplate() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setMinReadySeconds(Integer minReadySeconds) |
void |
setPaused(Boolean paused) |
void |
setProgressDeadlineSeconds(Integer progressDeadlineSeconds) |
void |
setReplicas(Integer replicas) |
void |
setRevisionHistoryLimit(Integer revisionHistoryLimit) |
void |
setSelector(LabelSelector selector) |
void |
setStrategy(DeploymentStrategy strategy) |
void |
setTemplate(PodTemplateSpec template) |
public DeploymentSpec()
public DeploymentSpec(Integer minReadySeconds, Boolean paused, Integer progressDeadlineSeconds, Integer replicas, Integer revisionHistoryLimit, LabelSelector selector, DeploymentStrategy strategy, PodTemplateSpec template)
template
- paused
- replicas
- revisionHistoryLimit
- selector
- minReadySeconds
- strategy
- progressDeadlineSeconds
- public Integer getMinReadySeconds()
public void setMinReadySeconds(Integer minReadySeconds)
minReadySeconds
- The minReadySecondspublic Boolean getPaused()
public void setPaused(Boolean paused)
paused
- The pausedpublic Integer getProgressDeadlineSeconds()
public void setProgressDeadlineSeconds(Integer progressDeadlineSeconds)
progressDeadlineSeconds
- The progressDeadlineSecondspublic Integer getReplicas()
public void setReplicas(Integer replicas)
replicas
- The replicaspublic Integer getRevisionHistoryLimit()
public void setRevisionHistoryLimit(Integer revisionHistoryLimit)
revisionHistoryLimit
- The revisionHistoryLimitpublic LabelSelector getSelector()
public void setSelector(LabelSelector selector)
selector
- The selectorpublic DeploymentStrategy getStrategy()
public void setStrategy(DeploymentStrategy strategy)
strategy
- The strategypublic PodTemplateSpec getTemplate()
public void setTemplate(PodTemplateSpec template)
template
- The templateCopyright © 2015–2020 Red Hat. All rights reserved.