Class RollingUpdateStatefulSetStrategy
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class RollingUpdateStatefulSetStrategy extends java.lang.Object implements com.marcnuri.yakc.model.Model
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RollingUpdateStatefulSetStrategy.Builder
-
Constructor Summary
Constructors Constructor Description RollingUpdateStatefulSetStrategy()
RollingUpdateStatefulSetStrategy(java.lang.Number partition)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RollingUpdateStatefulSetStrategy.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
getPartition()
Partition indicates the ordinal at which the StatefulSet should be partitioned.int
hashCode()
void
setPartition(java.lang.Number partition)
Partition indicates the ordinal at which the StatefulSet should be partitioned.RollingUpdateStatefulSetStrategy.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static RollingUpdateStatefulSetStrategy.Builder builder()
-
toBuilder
public RollingUpdateStatefulSetStrategy.Builder toBuilder()
-
getPartition
public java.lang.Number getPartition()
Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.
-
setPartition
public void setPartition(java.lang.Number partition)
Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-