Package org.cdk8s.plus25.k8s
Interface LifecycleHandler
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LifecycleHandler.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.729Z") @Stability(Stable) public interface LifecycleHandler extends software.amazon.jsii.JsiiSerializable
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.One and only one of the fields, except TCPSocket must be specified.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLifecycleHandler.BuilderA builder forLifecycleHandlerstatic classLifecycleHandler.Jsii$ProxyAn implementation forLifecycleHandler
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LifecycleHandler.Builderbuilder()default ExecActiongetExec()Exec specifies the action to take.default HttpGetActiongetHttpGet()HTTPGet specifies the http request to perform.default TcpSocketActiongetTcpSocket()Deprecated.
-
-
-
Method Detail
-
getExec
@Stability(Stable) @Nullable default ExecAction getExec()
Exec specifies the action to take.
-
getHttpGet
@Stability(Stable) @Nullable default HttpGetAction getHttpGet()
HTTPGet specifies the http request to perform.
-
getTcpSocket
@Stability(Stable) @Nullable default TcpSocketAction getTcpSocket()
Deprecated.TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.
-
builder
@Stability(Stable) static LifecycleHandler.Builder builder()
- Returns:
- a
LifecycleHandler.BuilderofLifecycleHandler
-
-