Class BatchContainerOverrides.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.BatchContainerOverrides.Jsii$Proxy
All Implemented Interfaces:
BatchContainerOverrides, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BatchContainerOverrides

@Stability(Stable) @Internal public static final class BatchContainerOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BatchContainerOverrides
An implementation for BatchContainerOverrides
  • Constructor Details

    • 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(BatchContainerOverrides.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BatchContainerOverrides.Builder.
  • Method Details

    • getCommand

      public final List<String> getCommand()
      Description copied from interface: BatchContainerOverrides
      The command to send to the container that overrides the default command from the Docker image or the job definition.

      Default: - No command overrides

      Specified by:
      getCommand in interface BatchContainerOverrides
    • getEnvironment

      public final Map<String,String> getEnvironment()
      Description copied from interface: BatchContainerOverrides
      The environment variables to send to the container.

      You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.

      Default: - No environment overrides

      Specified by:
      getEnvironment in interface BatchContainerOverrides
    • getGpuCount

      public final Number getGpuCount()
      Description copied from interface: BatchContainerOverrides
      The number of physical GPUs to reserve for the container.

      The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.

      Default: - No GPU reservation

      Specified by:
      getGpuCount in interface BatchContainerOverrides
    • getInstanceType

      public final InstanceType getInstanceType()
      Description copied from interface: BatchContainerOverrides
      The instance type to use for a multi-node parallel job.

      This parameter is not valid for single-node container jobs.

      Default: - No instance type overrides

      Specified by:
      getInstanceType in interface BatchContainerOverrides
    • getMemory

      public final Size getMemory()
      Description copied from interface: BatchContainerOverrides
      Memory reserved for the job.

      Default: - No memory overrides. The memory supplied in the job definition will be used.

      Specified by:
      getMemory in interface BatchContainerOverrides
    • getVcpus

      public final Number getVcpus()
      Description copied from interface: BatchContainerOverrides
      The number of vCPUs to reserve for the container.

      This value overrides the value set in the job definition.

      Default: - No vCPUs overrides

      Specified by:
      getVcpus in interface BatchContainerOverrides
    • $jsii$toJson

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

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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