Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1RollingUpdateDeployment
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1RollingUpdateDeployment
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1RollingUpdateDeployment extends Object
Spec to control the desired behavior of rolling update.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MAX_SURGEstatic StringJSON_PROPERTY_MAX_UNAVAILABLE
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1RollingUpdateDeployment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMaxSurge()IntOrString is a type that can hold an int32 or a string.StringgetMaxUnavailable()IntOrString is a type that can hold an int32 or a string.inthashCode()IoK8sApiAppsV1RollingUpdateDeploymentmaxSurge(String maxSurge)IoK8sApiAppsV1RollingUpdateDeploymentmaxUnavailable(String maxUnavailable)voidsetMaxSurge(String maxSurge)voidsetMaxUnavailable(String maxUnavailable)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MAX_SURGE
public static final String JSON_PROPERTY_MAX_SURGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_UNAVAILABLE
public static final String JSON_PROPERTY_MAX_UNAVAILABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
maxSurge
public IoK8sApiAppsV1RollingUpdateDeployment maxSurge(String maxSurge)
-
getMaxSurge
@Nullable public String getMaxSurge()
IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.- Returns:
- maxSurge
-
setMaxSurge
public void setMaxSurge(String maxSurge)
-
maxUnavailable
public IoK8sApiAppsV1RollingUpdateDeployment maxUnavailable(String maxUnavailable)
-
getMaxUnavailable
@Nullable public String getMaxUnavailable()
IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.- Returns:
- maxUnavailable
-
setMaxUnavailable
public void setMaxUnavailable(String maxUnavailable)
-
-