Class V1RollingUpdateDeployment
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1RollingUpdateDeployment
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1RollingUpdateDeployment
extends Object
Spec to control the desired behavior of rolling update.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
IntOrString is a type that can hold an int32 or a string.IntOrString is a type that can hold an int32 or a string.int
hashCode()
Set maxSurge in a chainable fashion.maxUnavailable
(String maxUnavailable) Set maxUnavailable in a chainable fashion.void
setMaxSurge
(String maxSurge) Set the maxSurge property valuevoid
setMaxUnavailable
(String maxUnavailable) Set the maxUnavailable property valuetoString()
-
Field Details
-
JSON_PROPERTY_MAX_SURGE
- See Also:
-
JSON_PROPERTY_MAX_UNAVAILABLE
- See Also:
-
-
Constructor Details
-
V1RollingUpdateDeployment
public V1RollingUpdateDeployment()
-
-
Method Details
-
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:
- the maxSurge property value
-
setMaxSurge
Set the maxSurge property value -
maxSurge
Set maxSurge in a chainable fashion.- Returns:
- The same instance of V1RollingUpdateDeployment for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-