Class V1ContainerRestartRuleOnExitCodes
java.lang.Object
io.kubernetes.client.openapi.models.V1ContainerRestartRuleOnExitCodes
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-12T23:11:52.603861Z[Etc/UTC]")
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) 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()voidsetOperator(String operator) voidtoString()
-
Field Details
-
SERIALIZED_NAME_OPERATOR
- See Also:
-
SERIALIZED_NAME_VALUES
- See Also:
-
-
Constructor Details
-
V1ContainerRestartRuleOnExitCodes
public V1ContainerRestartRuleOnExitCodes()
-
-
Method Details
-
operator
-
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:
- operator
-
setOperator
-
values
-
addValuesItem
-
getValues
Specifies the set of values to check for container exit codes. At most 255 elements are allowed.- Returns:
- values
-
setValues
-
equals
-
hashCode
public int hashCode() -
toString
-