Class V1StatefulSetOrdinals
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1StatefulSetOrdinals
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1StatefulSetOrdinals
extends Object
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
-
Field Details
-
JSON_PROPERTY_START
- See Also:
-
-
Constructor Details
-
V1StatefulSetOrdinals
public V1StatefulSetOrdinals()
-
-
Method Details
-
getStart
start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range: [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). If unset, defaults to 0. Replica indices will be in the range: [0, .spec.replicas).- Returns:
- the start property value
-
setStart
Set the start property value- Parameters:
start
- property value to set
-
start
Set start in a chainable fashion.- Returns:
- The same instance of V1StatefulSetOrdinals for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-