@Generated(value="org.jsonschema2pojo") public class DeploymentStrategy extends Object implements KubernetesResource
Constructor and Description |
---|
DeploymentStrategy()
No args constructor for use in serialization
|
DeploymentStrategy(Long activeDeadlineSeconds,
Map<String,String> annotations,
CustomDeploymentStrategyParams customParams,
Map<String,String> labels,
RecreateDeploymentStrategyParams recreateParams,
ResourceRequirements resources,
RollingDeploymentStrategyParams rollingParams,
String type) |
Modifier and Type | Method and Description |
---|---|
Long |
getActiveDeadlineSeconds() |
Map<String,Object> |
getAdditionalProperties() |
Map<String,String> |
getAnnotations() |
CustomDeploymentStrategyParams |
getCustomParams() |
Map<String,String> |
getLabels() |
RecreateDeploymentStrategyParams |
getRecreateParams() |
ResourceRequirements |
getResources() |
RollingDeploymentStrategyParams |
getRollingParams() |
String |
getType() |
void |
setActiveDeadlineSeconds(Long activeDeadlineSeconds) |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAnnotations(Map<String,String> annotations) |
void |
setCustomParams(CustomDeploymentStrategyParams customParams) |
void |
setLabels(Map<String,String> labels) |
void |
setRecreateParams(RecreateDeploymentStrategyParams recreateParams) |
void |
setResources(ResourceRequirements resources) |
void |
setRollingParams(RollingDeploymentStrategyParams rollingParams) |
void |
setType(String type) |
public DeploymentStrategy()
public DeploymentStrategy(Long activeDeadlineSeconds, Map<String,String> annotations, CustomDeploymentStrategyParams customParams, Map<String,String> labels, RecreateDeploymentStrategyParams recreateParams, ResourceRequirements resources, RollingDeploymentStrategyParams rollingParams, String type)
recreateParams
- rollingParams
- customParams
- annotations
- resources
- type
- activeDeadlineSeconds
- labels
- public Long getActiveDeadlineSeconds()
public void setActiveDeadlineSeconds(Long activeDeadlineSeconds)
activeDeadlineSeconds
- The activeDeadlineSecondspublic void setAnnotations(Map<String,String> annotations)
annotations
- The annotationspublic CustomDeploymentStrategyParams getCustomParams()
public void setCustomParams(CustomDeploymentStrategyParams customParams)
customParams
- The customParamspublic 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 String getType()
public void setType(String type)
type
- The typeCopyright © 2011–2017 Red Hat. All rights reserved.