Class V1ContainerRestartRule
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ContainerRestartRule
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ContainerRestartRule
extends Object
ContainerRestartRule describes how a container exit is handled.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet action in a chainable fashion.booleanexitCodes(V1ContainerRestartRuleOnExitCodes exitCodes) Set exitCodes in a chainable fashion.Specifies the action taken on a container exit if the requirements are satisfied.inthashCode()voidSet the action property valuevoidsetExitCodes(V1ContainerRestartRuleOnExitCodes exitCodes) Set the exitCodes property valuetoString()
-
Field Details
-
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_EXIT_CODES
- See Also:
-
-
Constructor Details
-
V1ContainerRestartRule
-
-
Method Details
-
getAction
Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container.- Returns:
- the action property value
-
setAction
Set the action property value- Parameters:
action- property value to set
-
action
Set action in a chainable fashion.- Returns:
- The same instance of V1ContainerRestartRule for chaining.
-
getExitCodes
- Returns:
- the exitCodes property value
-
setExitCodes
Set the exitCodes property value- Parameters:
exitCodes- property value to set
-
exitCodes
Set exitCodes in a chainable fashion.- Returns:
- The same instance of V1ContainerRestartRule for chaining.
-
equals
-
hashCode
-
toString
-