@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1beta2ReplicaSetSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MIN_READY_SECONDS |
static String |
SERIALIZED_NAME_REPLICAS |
static String |
SERIALIZED_NAME_SELECTOR |
static String |
SERIALIZED_NAME_TEMPLATE |
Constructor and Description |
---|
V1beta2ReplicaSetSpec() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its
container crashing, for it to be considered available.
|
Integer |
getReplicas()
Replicas is the number of desired replicas.
|
V1LabelSelector |
getSelector()
Get selector
|
V1PodTemplateSpec |
getTemplate()
Get template
|
int |
hashCode() |
V1beta2ReplicaSetSpec |
minReadySeconds(Integer minReadySeconds) |
V1beta2ReplicaSetSpec |
replicas(Integer replicas) |
V1beta2ReplicaSetSpec |
selector(V1LabelSelector selector) |
void |
setMinReadySeconds(Integer minReadySeconds) |
void |
setReplicas(Integer replicas) |
void |
setSelector(V1LabelSelector selector) |
void |
setTemplate(V1PodTemplateSpec template) |
V1beta2ReplicaSetSpec |
template(V1PodTemplateSpec template) |
String |
toString() |
public static final String SERIALIZED_NAME_MIN_READY_SECONDS
public static final String SERIALIZED_NAME_REPLICAS
public static final String SERIALIZED_NAME_SELECTOR
public static final String SERIALIZED_NAME_TEMPLATE
public V1beta2ReplicaSetSpec minReadySeconds(Integer minReadySeconds)
@Nullable public Integer getMinReadySeconds()
public void setMinReadySeconds(Integer minReadySeconds)
public V1beta2ReplicaSetSpec replicas(Integer replicas)
@Nullable public Integer getReplicas()
public void setReplicas(Integer replicas)
public V1beta2ReplicaSetSpec selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V1beta2ReplicaSetSpec template(V1PodTemplateSpec template)
@Nullable public V1PodTemplateSpec getTemplate()
public void setTemplate(V1PodTemplateSpec template)
Copyright © 2020. All rights reserved.