Class 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 for ExecAction
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(ExecAction.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ExecAction.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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.
    • 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 interface ExecAction
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object