@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1DeploymentSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MIN_READY_SECONDS |
static String |
SERIALIZED_NAME_PAUSED |
static String |
SERIALIZED_NAME_PROGRESS_DEADLINE_SECONDS |
static String |
SERIALIZED_NAME_REPLICAS |
static String |
SERIALIZED_NAME_REVISION_HISTORY_LIMIT |
static String |
SERIALIZED_NAME_SELECTOR |
static String |
SERIALIZED_NAME_STRATEGY |
static String |
SERIALIZED_NAME_TEMPLATE |
Constructor and Description |
---|
V1DeploymentSpec() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its
container crashing, for it to be considered available.
|
Boolean |
getPaused()
Indicates that the deployment is paused.
|
Integer |
getProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it is considered to be
failed.
|
Integer |
getReplicas()
Number of desired pods.
|
Integer |
getRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback.
|
V1LabelSelector |
getSelector()
Get selector
|
V1DeploymentStrategy |
getStrategy()
Get strategy
|
V1PodTemplateSpec |
getTemplate()
Get template
|
int |
hashCode() |
V1DeploymentSpec |
minReadySeconds(Integer minReadySeconds) |
V1DeploymentSpec |
paused(Boolean paused) |
V1DeploymentSpec |
progressDeadlineSeconds(Integer progressDeadlineSeconds) |
V1DeploymentSpec |
replicas(Integer replicas) |
V1DeploymentSpec |
revisionHistoryLimit(Integer revisionHistoryLimit) |
V1DeploymentSpec |
selector(V1LabelSelector selector) |
void |
setMinReadySeconds(Integer minReadySeconds) |
void |
setPaused(Boolean paused) |
void |
setProgressDeadlineSeconds(Integer progressDeadlineSeconds) |
void |
setReplicas(Integer replicas) |
void |
setRevisionHistoryLimit(Integer revisionHistoryLimit) |
void |
setSelector(V1LabelSelector selector) |
void |
setStrategy(V1DeploymentStrategy strategy) |
void |
setTemplate(V1PodTemplateSpec template) |
V1DeploymentSpec |
strategy(V1DeploymentStrategy strategy) |
V1DeploymentSpec |
template(V1PodTemplateSpec template) |
String |
toString() |
public static final String SERIALIZED_NAME_MIN_READY_SECONDS
public static final String SERIALIZED_NAME_PAUSED
public static final String SERIALIZED_NAME_PROGRESS_DEADLINE_SECONDS
public static final String SERIALIZED_NAME_REPLICAS
public static final String SERIALIZED_NAME_REVISION_HISTORY_LIMIT
public static final String SERIALIZED_NAME_SELECTOR
public static final String SERIALIZED_NAME_STRATEGY
public static final String SERIALIZED_NAME_TEMPLATE
public V1DeploymentSpec minReadySeconds(Integer minReadySeconds)
@Nullable public Integer getMinReadySeconds()
public void setMinReadySeconds(Integer minReadySeconds)
public V1DeploymentSpec paused(Boolean paused)
@Nullable public Boolean getPaused()
public void setPaused(Boolean paused)
public V1DeploymentSpec progressDeadlineSeconds(Integer progressDeadlineSeconds)
@Nullable public Integer getProgressDeadlineSeconds()
public void setProgressDeadlineSeconds(Integer progressDeadlineSeconds)
public V1DeploymentSpec replicas(Integer replicas)
@Nullable public Integer getReplicas()
public void setReplicas(Integer replicas)
public V1DeploymentSpec revisionHistoryLimit(Integer revisionHistoryLimit)
@Nullable public Integer getRevisionHistoryLimit()
public void setRevisionHistoryLimit(Integer revisionHistoryLimit)
public V1DeploymentSpec selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V1DeploymentSpec strategy(V1DeploymentStrategy strategy)
@Nullable public V1DeploymentStrategy getStrategy()
public void setStrategy(V1DeploymentStrategy strategy)
public V1DeploymentSpec template(V1PodTemplateSpec template)
public V1PodTemplateSpec getTemplate()
public void setTemplate(V1PodTemplateSpec template)
Copyright © 2021. All rights reserved.