Class V1Lifecycle
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Lifecycle
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1Lifecycle
extends Object
Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
postStart
(V1LifecycleHandler postStart) Set postStart in a chainable fashion.preStop
(V1LifecycleHandler preStop) Set preStop in a chainable fashion.void
setPostStart
(V1LifecycleHandler postStart) Set the postStart property valuevoid
setPreStop
(V1LifecycleHandler preStop) Set the preStop property valuetoString()
-
Field Details
-
JSON_PROPERTY_POST_START
- See Also:
-
JSON_PROPERTY_PRE_STOP
- See Also:
-
-
Constructor Details
-
V1Lifecycle
public V1Lifecycle()
-
-
Method Details
-
getPostStart
- Returns:
- the postStart property value
-
setPostStart
Set the postStart property value -
postStart
Set postStart in a chainable fashion.- Returns:
- The same instance of V1Lifecycle for chaining.
-
getPreStop
- Returns:
- the preStop property value
-
setPreStop
Set the preStop property value -
preStop
Set preStop in a chainable fashion.- Returns:
- The same instance of V1Lifecycle for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-