Class V1ReplicationControllerSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ReplicationControllerSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ReplicationControllerSpec
extends Object
ReplicationControllerSpec is the specification of a replication controller.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanMinimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.Replicas is the number of desired replicas.Selector is a label query over pods that should match the Replicas count.inthashCode()minReadySeconds(Integer minReadySeconds) Set minReadySeconds in a chainable fashion.putSelectorItem(String key, String selectorItem) Set the value for the key for the selector map property in a chainable fashion.Set replicas in a chainable fashion.Set selector in a chainable fashion.voidsetMinReadySeconds(Integer minReadySeconds) Set the minReadySeconds property valuevoidsetReplicas(Integer replicas) Set the replicas property valuevoidsetSelector(Map<String, @NotNull String> selector) Set the selector property valuevoidsetTemplate(V1PodTemplateSpec template) Set the template property valuetemplate(V1PodTemplateSpec template) Set template in a chainable fashion.toString()
- 
Field Details- 
JSON_PROPERTY_MIN_READY_SECONDS- See Also:
 
- 
JSON_PROPERTY_REPLICAS- See Also:
 
- 
JSON_PROPERTY_SELECTOR- See Also:
 
- 
JSON_PROPERTY_TEMPLATE- See Also:
 
 
- 
- 
Constructor Details- 
V1ReplicationControllerSpecpublic V1ReplicationControllerSpec()
 
- 
- 
Method Details- 
getMinReadySecondsMinimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)- Returns:
- the minReadySeconds property value
 
- 
setMinReadySecondsSet the minReadySeconds property value- Parameters:
- minReadySeconds- property value to set
 
- 
minReadySecondsSet minReadySeconds in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerSpec for chaining.
 
- 
getReplicasReplicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller- Returns:
- the replicas property value
 
- 
setReplicasSet the replicas property value- Parameters:
- replicas- property value to set
 
- 
replicasSet replicas in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerSpec for chaining.
 
- 
getSelectorSelector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors- Returns:
- the selector property value
 
- 
setSelectorSet the selector property value- Parameters:
- selector- property value to set
 
- 
selectorSet selector in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerSpec for chaining.
 
- 
putSelectorItemSet the value for the key for the selector map property in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerSpec for chaining.
 
- 
getTemplate- Returns:
- the template property value
 
- 
setTemplateSet the template property value- Parameters:
- template- property value to set
 
- 
templateSet template in a chainable fashion.- Returns:
- The same instance of V1ReplicationControllerSpec for chaining.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-