Class V1PodDisruptionBudgetSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1PodDisruptionBudgetSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1PodDisruptionBudgetSpec
extends Object
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
-
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.Get selectorint
hashCode()
maxUnavailable
(IntOrString maxUnavailable) minAvailable
(IntOrString minAvailable) selector
(V1LabelSelector selector) void
setMaxUnavailable
(IntOrString maxUnavailable) void
setMinAvailable
(IntOrString minAvailable) void
setSelector
(V1LabelSelector selector) toString()
-
Field Details
-
SERIALIZED_NAME_MAX_UNAVAILABLE
- See Also:
-
SERIALIZED_NAME_MIN_AVAILABLE
- See Also:
-
SERIALIZED_NAME_SELECTOR
- See Also:
-
-
Constructor Details
-
V1PodDisruptionBudgetSpec
public V1PodDisruptionBudgetSpec()
-
-
Method Details
-
minAvailable
-
getMinAvailable
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:
- minAvailable
-
setMinAvailable
-
selector
-
getSelector
Get selector- Returns:
- selector
-
setSelector
-
equals
-
hashCode
public int hashCode() -
toString