@Generated(value="org.jsonschema2pojo") public class ReplicaSetSpec extends Object implements KubernetesResource
Constructor and Description |
---|
ReplicaSetSpec()
No args constructor for use in serialization
|
ReplicaSetSpec(Integer minReadySeconds,
Integer replicas,
LabelSelector selector,
PodTemplateSpec template) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Integer |
getMinReadySeconds() |
Integer |
getReplicas() |
LabelSelector |
getSelector() |
PodTemplateSpec |
getTemplate() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setMinReadySeconds(Integer minReadySeconds) |
void |
setReplicas(Integer replicas) |
void |
setSelector(LabelSelector selector) |
void |
setTemplate(PodTemplateSpec template) |
public ReplicaSetSpec()
public ReplicaSetSpec(Integer minReadySeconds, Integer replicas, LabelSelector selector, PodTemplateSpec template)
template
- replicas
- selector
- minReadySeconds
- public Integer getMinReadySeconds()
public void setMinReadySeconds(Integer minReadySeconds)
minReadySeconds
- The minReadySecondspublic Integer getReplicas()
public void setReplicas(Integer replicas)
replicas
- The replicaspublic LabelSelector getSelector()
public void setSelector(LabelSelector selector)
selector
- The selectorpublic PodTemplateSpec getTemplate()
public void setTemplate(PodTemplateSpec template)
template
- The templateCopyright © 2015–2020 Red Hat. All rights reserved.