Class StatefulSetUpdateStrategy
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apps.StatefulSetUpdateStrategy
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StatefulSetUpdateStrategyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StatefulSetUpdateStrategy extends Object implements io.fabric8.kubernetes.api.builder.Editable<StatefulSetUpdateStrategyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatefulSetUpdateStrategy()No args constructor for use in serializationStatefulSetUpdateStrategy(RollingUpdateStatefulSetStrategy rollingUpdate, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatefulSetUpdateStrategyBuilderedit()Map<String,Object>getAdditionalProperties()RollingUpdateStatefulSetStrategygetRollingUpdate()StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates.StringgetType()Type indicates the type of the StatefulSetUpdateStrategy.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRollingUpdate(RollingUpdateStatefulSetStrategy rollingUpdate)StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates.voidsetType(String type)Type indicates the type of the StatefulSetUpdateStrategy.StatefulSetUpdateStrategyBuildertoBuilder()
-
-
-
Constructor Detail
-
StatefulSetUpdateStrategy
public StatefulSetUpdateStrategy()
No args constructor for use in serialization
-
StatefulSetUpdateStrategy
public StatefulSetUpdateStrategy(RollingUpdateStatefulSetStrategy rollingUpdate, String type)
-
-
Method Detail
-
getRollingUpdate
public RollingUpdateStatefulSetStrategy getRollingUpdate()
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.
-
setRollingUpdate
public void setRollingUpdate(RollingUpdateStatefulSetStrategy rollingUpdate)
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.
-
getType
public String getType()
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
-
setType
public void setType(String type)
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
-
edit
public StatefulSetUpdateStrategyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StatefulSetUpdateStrategyBuilder>
-
toBuilder
public StatefulSetUpdateStrategyBuilder toBuilder()
-
-