@Generated(value="org.jsonschema2pojo") public class DeploymentStrategy extends java.lang.Object implements KubernetesResource
Constructor and Description |
---|
DeploymentStrategy()
No args constructor for use in serialization
|
DeploymentStrategy(java.lang.Long activeDeadlineSeconds,
java.util.Map<java.lang.String,java.lang.String> annotations,
CustomDeploymentStrategyParams customParams,
java.util.Map<java.lang.String,java.lang.String> labels,
RecreateDeploymentStrategyParams recreateParams,
ResourceRequirements resources,
RollingDeploymentStrategyParams rollingParams,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getActiveDeadlineSeconds() |
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalProperties() |
java.util.Map<java.lang.String,java.lang.String> |
getAnnotations() |
CustomDeploymentStrategyParams |
getCustomParams() |
java.util.Map<java.lang.String,java.lang.String> |
getLabels() |
RecreateDeploymentStrategyParams |
getRecreateParams() |
ResourceRequirements |
getResources() |
RollingDeploymentStrategyParams |
getRollingParams() |
java.lang.String |
getType() |
void |
setActiveDeadlineSeconds(java.lang.Long activeDeadlineSeconds) |
void |
setAdditionalProperty(java.lang.String name,
java.lang.Object value) |
void |
setAnnotations(java.util.Map<java.lang.String,java.lang.String> annotations) |
void |
setCustomParams(CustomDeploymentStrategyParams customParams) |
void |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels) |
void |
setRecreateParams(RecreateDeploymentStrategyParams recreateParams) |
void |
setResources(ResourceRequirements resources) |
void |
setRollingParams(RollingDeploymentStrategyParams rollingParams) |
void |
setType(java.lang.String type) |
public DeploymentStrategy()
public DeploymentStrategy(java.lang.Long activeDeadlineSeconds, java.util.Map<java.lang.String,java.lang.String> annotations, CustomDeploymentStrategyParams customParams, java.util.Map<java.lang.String,java.lang.String> labels, RecreateDeploymentStrategyParams recreateParams, ResourceRequirements resources, RollingDeploymentStrategyParams rollingParams, java.lang.String type)
recreateParams
- rollingParams
- customParams
- annotations
- resources
- type
- activeDeadlineSeconds
- labels
- public java.lang.Long getActiveDeadlineSeconds()
public void setActiveDeadlineSeconds(java.lang.Long activeDeadlineSeconds)
activeDeadlineSeconds
- The activeDeadlineSecondspublic java.util.Map<java.lang.String,java.lang.String> getAnnotations()
public void setAnnotations(java.util.Map<java.lang.String,java.lang.String> annotations)
annotations
- The annotationspublic CustomDeploymentStrategyParams getCustomParams()
public void setCustomParams(CustomDeploymentStrategyParams customParams)
customParams
- The customParamspublic java.util.Map<java.lang.String,java.lang.String> getLabels()
public void setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- The labelspublic RecreateDeploymentStrategyParams getRecreateParams()
public void setRecreateParams(RecreateDeploymentStrategyParams recreateParams)
recreateParams
- The recreateParamspublic ResourceRequirements getResources()
public void setResources(ResourceRequirements resources)
resources
- The resourcespublic RollingDeploymentStrategyParams getRollingParams()
public void setRollingParams(RollingDeploymentStrategyParams rollingParams)
rollingParams
- The rollingParamspublic java.lang.String getType()
public void setType(java.lang.String type)
type
- The typepublic java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
public void setAdditionalProperty(java.lang.String name, java.lang.Object value)
Copyright © 2015-2019 Red Hat. All Rights Reserved.