Class StatefulSetUpdateStrategy
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.StatefulSetUpdateStrategy
-
- All Implemented Interfaces:
Editable<StatefulSetUpdateStrategyBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StatefulSetUpdateStrategy extends Object implements Editable<StatefulSetUpdateStrategyBuilder>, KubernetesResource
StatefulSetUpdateStrategy indicates the strategy used when updating the StatefulSet. 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 used when updating the StatefulSet.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 used when updating the StatefulSet.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 used when updating the StatefulSet. It includes any additional parameters necessary to perform the update for the indicated strategy.
-
setRollingUpdate
public void setRollingUpdate(RollingUpdateStatefulSetStrategy rollingUpdate)
StatefulSetUpdateStrategy indicates the strategy used when updating the StatefulSet. 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 interfaceEditable<StatefulSetUpdateStrategyBuilder>
-
toBuilder
public StatefulSetUpdateStrategyBuilder toBuilder()
-
-