Class JobDefinitionProps.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class JobDefinitionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JobDefinitionProps
An implementation for JobDefinitionProps
  • 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(JobDefinitionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the JobDefinitionProps.Builder.
  • Method Details

    • getContainer

      public final JobDefinitionContainer getContainer()
      Description copied from interface: JobDefinitionProps
      (experimental) An object with various properties specific to container-based jobs.
      Specified by:
      getContainer in interface JobDefinitionProps
    • getJobDefinitionName

      public final String getJobDefinitionName()
      Description copied from interface: JobDefinitionProps
      (experimental) The name of the job definition.

      Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

      Default: Cloudformation-generated name

      Specified by:
      getJobDefinitionName in interface JobDefinitionProps
    • getNodeProps

      public final IMultiNodeProps getNodeProps()
      Description copied from interface: JobDefinitionProps
      (experimental) An object with various properties specific to multi-node parallel jobs.

      Default: - undefined

      Specified by:
      getNodeProps in interface JobDefinitionProps
    • getParameters

      public final Map<String,String> getParameters()
      Description copied from interface: JobDefinitionProps
      (experimental) When you submit a job, you can specify parameters that should replace the placeholders or override the default job definition parameters.

      Parameters in job submission requests take precedence over the defaults in a job definition. This allows you to use the same job definition for multiple jobs that use the same format, and programmatically change values in the command at submission time.

      Default: - undefined

      Specified by:
      getParameters in interface JobDefinitionProps
    • getPlatformCapabilities

      public final List<PlatformCapabilities> getPlatformCapabilities()
      Description copied from interface: JobDefinitionProps
      (experimental) The platform capabilities required by the job definition.

      Default: - EC2

      Specified by:
      getPlatformCapabilities in interface JobDefinitionProps
    • getRetryAttempts

      public final Number getRetryAttempts()
      Description copied from interface: JobDefinitionProps
      (experimental) The number of times to move a job to the RUNNABLE status.

      You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

      Default: 1

      Specified by:
      getRetryAttempts in interface JobDefinitionProps
    • getTimeout

      public final Duration getTimeout()
      Description copied from interface: JobDefinitionProps
      (experimental) The timeout configuration for jobs that are submitted with this job definition.

      You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.

      Default: - undefined

      Specified by:
      getTimeout in interface JobDefinitionProps
    • $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