Class V1ContainerRestartRuleOnExitCodes
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ContainerRestartRuleOnExitCodes
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ContainerRestartRuleOnExitCodes
extends Object
ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValuesItem(Integer valuesItem) Add an item to the values property in a chainable fashion.booleanRepresents the relationship between the container exit code(s) and the specified values.Specifies the set of values to check for container exit codes.inthashCode()Set operator in a chainable fashion.voidsetOperator(String operator) Set the operator property valuevoidSet the values property valuetoString()Set values in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_VALUES
- See Also:
-
-
Constructor Details
-
V1ContainerRestartRuleOnExitCodes
-
-
Method Details
-
getOperator
Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values.- Returns:
- the operator property value
-
setOperator
Set the operator property value- Parameters:
operator- property value to set
-
operator
Set operator in a chainable fashion.- Returns:
- The same instance of V1ContainerRestartRuleOnExitCodes for chaining.
-
getValues
-
setValues
-
values
Set values in a chainable fashion.- Returns:
- The same instance of V1ContainerRestartRuleOnExitCodes for chaining.
-
addValuesItem
Add an item to the values property in a chainable fashion.- Returns:
- The same instance of V1ContainerRestartRuleOnExitCodes for chaining.
-
equals
-
hashCode
-
toString
-