Class V1RollingUpdateDaemonSet
java.lang.Object
io.kubernetes.client.openapi.models.V1RollingUpdateDaemonSet
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1RollingUpdateDaemonSet
extends Object
Spec to control the desired behavior of daemon set rolling update.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1RollingUpdateDaemonSetCreate an instance of V1RollingUpdateDaemonSet given an JSON stringIntOrString is a type that can hold an int32 or a string.IntOrString is a type that can hold an int32 or a string.inthashCode()maxSurge(IntOrString maxSurge) maxUnavailable(IntOrString maxUnavailable) voidsetMaxSurge(IntOrString maxSurge) voidsetMaxUnavailable(IntOrString maxUnavailable) toJson()Convert an instance of V1RollingUpdateDaemonSet to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MAX_SURGE
- See Also:
-
SERIALIZED_NAME_MAX_UNAVAILABLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1RollingUpdateDaemonSet
public V1RollingUpdateDaemonSet()
-
-
Method Details
-
maxSurge
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1RollingUpdateDaemonSet
-
fromJson
Create an instance of V1RollingUpdateDaemonSet given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1RollingUpdateDaemonSet
- Throws:
IOException- if the JSON string is invalid with respect to V1RollingUpdateDaemonSet
-
toJson
Convert an instance of V1RollingUpdateDaemonSet to an JSON string- Returns:
- JSON string
-