Class JobStep.Jsii$Proxy

    • 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​(JobStep.Builder builder)
      Constructor that initializes the object based on literal property values passed by the JobStep.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.
      • Jsii$Proxy

        protected Jsii$Proxy​(JobStep.Builder builder)
        Constructor that initializes the object based on literal property values passed by the JobStep.Builder.
    • Method Detail

      • getRun

        public final String getRun()
        Description copied from interface: Step
        (experimental) Runs command-line programs using the operating system's shell.

        If you do not provide a name, the step name will default to the text specified in the run command.

        Specified by:
        getRun in interface Step
      • getUses

        public final String getUses()
        Description copied from interface: Step
        (experimental) Selects an action to run as part of a step in your job.

        An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.

        Specified by:
        getUses in interface Step
      • getWith

        public final Map<String,​Object> getWith()
        Description copied from interface: Step
        (experimental) A map of the input parameters defined by the action.

        Each input parameter is a key/value pair. Input parameters are set as environment variables. The variable is prefixed with INPUT_ and converted to upper case.

        Specified by:
        getWith in interface Step
      • getEnv

        public final Map<String,​String> getEnv()
        Description copied from interface: JobStep
        (experimental) Sets environment variables for steps to use in the runner environment.

        You can also set environment variables for the entire workflow or a job.

        Specified by:
        getEnv in interface JobStep
        Specified by:
        getEnv in interface StepConfiguration
      • getId

        public final String getId()
        Description copied from interface: JobStep
        (experimental) A unique identifier for the step.

        You can use the id to reference the step in contexts.

        Specified by:
        getId in interface JobStep
        Specified by:
        getId in interface StepConfiguration
      • getIfValue

        public final String getIfValue()
        Description copied from interface: JobStep
        (experimental) You can use the if conditional to prevent a job from running unless a condition is met.

        You can use any supported context and expression to create a conditional.

        Specified by:
        getIfValue in interface JobStep
        Specified by:
        getIfValue in interface StepConfiguration
      • $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