Package org.cdk8s.plus24.k8s
Class ExecAction.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ExecAction.Jsii$Proxy
-
- All Implemented Interfaces:
ExecAction
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ExecAction
@Stability(Stable) @Internal public static final class ExecAction.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ExecAction
An implementation forExecAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.ExecAction
ExecAction.Builder, ExecAction.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(ExecAction.Builder builder)
Constructor that initializes the object based on literal property values passed by theExecAction.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
List<String>
getCommand()
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ExecAction.Builder builder)
Constructor that initializes the object based on literal property values passed by theExecAction.Builder
.
-
-
Method Detail
-
getCommand
public final List<String> getCommand()
Description copied from interface:ExecAction
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- Specified by:
getCommand
in interfaceExecAction
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-