Class RollingUpdateDeployment
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apps.RollingUpdateDeployment
-
- All Implemented Interfaces:
Editable<RollingUpdateDeploymentBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RollingUpdateDeployment extends Object implements Editable<RollingUpdateDeploymentBuilder>, KubernetesResource
Spec to control the desired behavior of rolling update.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RollingUpdateDeployment()No args constructor for use in serializationRollingUpdateDeployment(IntOrString maxSurge, IntOrString maxUnavailable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RollingUpdateDeploymentBuilderedit()Map<String,Object>getAdditionalProperties()IntOrStringgetMaxSurge()Spec to control the desired behavior of rolling update.IntOrStringgetMaxUnavailable()Spec to control the desired behavior of rolling update.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaxSurge(IntOrString maxSurge)Spec to control the desired behavior of rolling update.voidsetMaxUnavailable(IntOrString maxUnavailable)Spec to control the desired behavior of rolling update.RollingUpdateDeploymentBuildertoBuilder()
-
-
-
Constructor Detail
-
RollingUpdateDeployment
public RollingUpdateDeployment()
No args constructor for use in serialization
-
RollingUpdateDeployment
public RollingUpdateDeployment(IntOrString maxSurge, IntOrString maxUnavailable)
-
-
Method Detail
-
getMaxSurge
public IntOrString getMaxSurge()
Spec to control the desired behavior of rolling update.
-
setMaxSurge
public void setMaxSurge(IntOrString maxSurge)
Spec to control the desired behavior of rolling update.
-
getMaxUnavailable
public IntOrString getMaxUnavailable()
Spec to control the desired behavior of rolling update.
-
setMaxUnavailable
public void setMaxUnavailable(IntOrString maxUnavailable)
Spec to control the desired behavior of rolling update.
-
edit
public RollingUpdateDeploymentBuilder edit()
- Specified by:
editin interfaceEditable<RollingUpdateDeploymentBuilder>
-
toBuilder
public RollingUpdateDeploymentBuilder toBuilder()
-
-