@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-06T16:45:00.555Z[Etc/UTC]") public class V1ReplicationControllerSpec 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 |
---|
V1ReplicationControllerSpec() |
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.
|
Map<String,String> |
getSelector()
Selector is a label query over pods that should match the Replicas count.
|
V1PodTemplateSpec |
getTemplate()
Get template
|
int |
hashCode() |
V1ReplicationControllerSpec |
minReadySeconds(Integer minReadySeconds) |
V1ReplicationControllerSpec |
putSelectorItem(String key,
String selectorItem) |
V1ReplicationControllerSpec |
replicas(Integer replicas) |
V1ReplicationControllerSpec |
selector(Map<String,String> selector) |
void |
setMinReadySeconds(Integer minReadySeconds) |
void |
setReplicas(Integer replicas) |
void |
setSelector(Map<String,String> selector) |
void |
setTemplate(V1PodTemplateSpec template) |
V1ReplicationControllerSpec |
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 V1ReplicationControllerSpec minReadySeconds(Integer minReadySeconds)
@Nullable public Integer getMinReadySeconds()
public void setMinReadySeconds(Integer minReadySeconds)
public V1ReplicationControllerSpec replicas(Integer replicas)
@Nullable public Integer getReplicas()
public void setReplicas(Integer replicas)
public V1ReplicationControllerSpec selector(Map<String,String> selector)
public V1ReplicationControllerSpec putSelectorItem(String key, String selectorItem)
@Nullable public Map<String,String> getSelector()
public V1ReplicationControllerSpec template(V1PodTemplateSpec template)
@Nullable public V1PodTemplateSpec getTemplate()
public void setTemplate(V1PodTemplateSpec template)
Copyright © 2023. All rights reserved.