Class V1PodFailurePolicy
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PodFailurePolicy
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PodFailurePolicy
extends Object
PodFailurePolicy describes how failed pods influence the backoffLimit.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddrulesItem
(V1PodFailurePolicyRule rulesItem) Add an item to the rules property in a chainable fashion.boolean
List<@Valid V1PodFailurePolicyRule>
getRules()
A list of pod failure policy rules.int
hashCode()
rules
(List<@Valid V1PodFailurePolicyRule> rules) Set rules in a chainable fashion.void
setRules
(List<@Valid V1PodFailurePolicyRule> rules) Set the rules property valuetoString()
-
Field Details
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
V1PodFailurePolicy
-
-
Method Details
-
getRules
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.- Returns:
- the rules property value
-
setRules
Set the rules property value -
rules
Set rules in a chainable fashion.- Returns:
- The same instance of V1PodFailurePolicy for chaining.
-
addrulesItem
Add an item to the rules property in a chainable fashion.- Returns:
- The same instance of V1PodFailurePolicy for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-