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(Stable) @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

    • getJobDefinitionName

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

      Default: - generated by CloudFormation

      Specified by:
      getJobDefinitionName in interface JobDefinitionProps
    • getParameters

      public final Map<String,Object> getParameters()
      Description copied from interface: JobDefinitionProps
      The default parameters passed to the container These parameters can be referenced in the command that you give to the container.

      Default: none

      Specified by:
      getParameters in interface JobDefinitionProps
      See Also:
    • getRetryAttempts

      public final Number getRetryAttempts()
      Description copied from interface: JobDefinitionProps
      The number of times to retry a job.

      The job is retried on failure the same number of attempts as the value.

      Default: 1

      Specified by:
      getRetryAttempts in interface JobDefinitionProps
    • getRetryStrategies

      public final List<RetryStrategy> getRetryStrategies()
      Description copied from interface: JobDefinitionProps
      Defines the retry behavior for this job.

      Default: - no `RetryStrategy`

      Specified by:
      getRetryStrategies in interface JobDefinitionProps
    • getSchedulingPriority

      public final Number getSchedulingPriority()
      Description copied from interface: JobDefinitionProps
      The priority of this Job.

      Only used in Fairshare Scheduling to decide which job to run first when there are multiple jobs with the same share identifier.

      Default: none

      Specified by:
      getSchedulingPriority in interface JobDefinitionProps
    • getSkipDeregisterOnUpdate

      public final Boolean getSkipDeregisterOnUpdate()
      Description copied from interface: JobDefinitionProps
      Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource.

      When the property is set to false, the previous revision of the job definition is de-registered after a new revision is created. When the property is set to true, the previous revision of the job definition is not de-registered.

      Default: undefined - AWS Batch default is false

      Specified by:
      getSkipDeregisterOnUpdate in interface JobDefinitionProps
    • getTimeout

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

      After the amount of time you specify passes, Batch terminates your jobs if they aren't finished.

      Default: - no timeout

      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