@Generated(value="org.jsonschema2pojo") public class DeploymentStrategy extends Object
| Constructor and Description |
|---|
DeploymentStrategy()
No args constructor for use in serialization
|
DeploymentStrategy(CustomDeploymentStrategyParams customParams,
RecreateDeploymentStrategyParams recreateParams,
ResourceRequirements resources,
RollingDeploymentStrategyParams rollingParams,
String type) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
CustomDeploymentStrategyParams |
getCustomParams() |
RecreateDeploymentStrategyParams |
getRecreateParams() |
ResourceRequirements |
getResources() |
RollingDeploymentStrategyParams |
getRollingParams() |
String |
getType()
the name of a deployment strategy
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setCustomParams(CustomDeploymentStrategyParams customParams) |
void |
setRecreateParams(RecreateDeploymentStrategyParams recreateParams) |
void |
setResources(ResourceRequirements resources) |
void |
setRollingParams(RollingDeploymentStrategyParams rollingParams) |
void |
setType(String type)
the name of a deployment strategy
|
public DeploymentStrategy()
public DeploymentStrategy(CustomDeploymentStrategyParams customParams, RecreateDeploymentStrategyParams recreateParams, ResourceRequirements resources, RollingDeploymentStrategyParams rollingParams, String type)
resources - recreateParams - customParams - rollingParams - type - public 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–2015 Red Hat. All rights reserved.