Class V1RollingUpdateDaemonSet
java.lang.Object
io.kubernetes.client.openapi.models.V1RollingUpdateDaemonSet
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-