Class StatefulSetUpdateStrategy
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.apps.v1beta2.StatefulSetUpdateStrategy
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class StatefulSetUpdateStrategy extends java.lang.Object implements com.marcnuri.yakc.model.Model
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatefulSetUpdateStrategy.Builder
-
Constructor Summary
Constructors Constructor Description StatefulSetUpdateStrategy()
StatefulSetUpdateStrategy(RollingUpdateStatefulSetStrategy rollingUpdate, java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatefulSetUpdateStrategy.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
RollingUpdateStatefulSetStrategy
getRollingUpdate()
java.lang.String
getType()
Type indicates the type of the StatefulSetUpdateStrategy.int
hashCode()
void
setRollingUpdate(RollingUpdateStatefulSetStrategy rollingUpdate)
void
setType(java.lang.String type)
Type indicates the type of the StatefulSetUpdateStrategy.StatefulSetUpdateStrategy.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
StatefulSetUpdateStrategy
public StatefulSetUpdateStrategy(RollingUpdateStatefulSetStrategy rollingUpdate, java.lang.String type)
-
StatefulSetUpdateStrategy
public StatefulSetUpdateStrategy()
-
-
Method Detail
-
builder
public static StatefulSetUpdateStrategy.Builder builder()
-
toBuilder
public StatefulSetUpdateStrategy.Builder toBuilder()
-
getRollingUpdate
public RollingUpdateStatefulSetStrategy getRollingUpdate()
-
getType
public java.lang.String getType()
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
-
setRollingUpdate
public void setRollingUpdate(RollingUpdateStatefulSetStrategy rollingUpdate)
-
setType
public void setType(java.lang.String type)
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
-
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
-
-