@Generated(value="org.jsonschema2pojo") public class DeploymentSpec extends Object
Constructor and Description |
---|
DeploymentSpec()
No args constructor for use in serialization
|
DeploymentSpec(Integer replicas,
Map<String,String> selector,
DeploymentStrategy strategy,
PodTemplateSpec template,
String uniqueLabelKey) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Integer |
getReplicas() |
Map<String,String> |
getSelector() |
DeploymentStrategy |
getStrategy() |
PodTemplateSpec |
getTemplate() |
String |
getUniqueLabelKey() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setReplicas(Integer replicas) |
void |
setSelector(Map<String,String> selector) |
void |
setStrategy(DeploymentStrategy strategy) |
void |
setTemplate(PodTemplateSpec template) |
void |
setUniqueLabelKey(String uniqueLabelKey) |
public DeploymentSpec()
public DeploymentSpec(Integer replicas, Map<String,String> selector, DeploymentStrategy strategy, PodTemplateSpec template, String uniqueLabelKey)
template
- uniqueLabelKey
- replicas
- selector
- strategy
- public Integer getReplicas()
public void setReplicas(Integer replicas)
replicas
- The replicaspublic void setSelector(Map<String,String> selector)
selector
- The selectorpublic DeploymentStrategy getStrategy()
public void setStrategy(DeploymentStrategy strategy)
strategy
- The strategypublic PodTemplateSpec getTemplate()
public void setTemplate(PodTemplateSpec template)
template
- The templatepublic String getUniqueLabelKey()
public void setUniqueLabelKey(String uniqueLabelKey)
uniqueLabelKey
- The uniqueLabelKeyCopyright © 2011–2015 Red Hat. All rights reserved.