Interface ListJobsByConsumableResourceSummary.Builder

  • Method Details

    • jobArn

      The Amazon Resource Name (ARN) of the job.

      Parameters:
      jobArn - The Amazon Resource Name (ARN) of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobQueueArn

      The Amazon Resource Name (ARN) of the job queue.

      Parameters:
      jobQueueArn - The Amazon Resource Name (ARN) of the job queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobName

      The name of the job.

      Parameters:
      jobName - The name of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobDefinitionArn

      ListJobsByConsumableResourceSummary.Builder jobDefinitionArn(String jobDefinitionArn)

      The Amazon Resource Name (ARN) of the job definition.

      Parameters:
      jobDefinitionArn - The Amazon Resource Name (ARN) of the job definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shareIdentifier

      ListJobsByConsumableResourceSummary.Builder shareIdentifier(String shareIdentifier)

      The fair-share scheduling policy identifier for the job.

      Parameters:
      shareIdentifier - The fair-share scheduling policy identifier for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatus

      The status of the job. Can be one of:

      • SUBMITTED

      • PENDING

      • RUNNABLE

      • STARTING

      • RUNNING

      • SUCCEEDED

      • FAILED

      Parameters:
      jobStatus - The status of the job. Can be one of:

      • SUBMITTED

      • PENDING

      • RUNNABLE

      • STARTING

      • RUNNING

      • SUCCEEDED

      • FAILED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      The total amount of the consumable resource that is available.

      Parameters:
      quantity - The total amount of the consumable resource that is available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      A short, human-readable string to provide more details for the current status of the job.

      Parameters:
      statusReason - A short, human-readable string to provide more details for the current status of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the STARTING state to the RUNNING state.

      Parameters:
      startedAt - The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the STARTING state to the RUNNING state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The Unix timestamp (in milliseconds) for when the consumable resource was created.

      Parameters:
      createdAt - The Unix timestamp (in milliseconds) for when the consumable resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumableResourceProperties

      ListJobsByConsumableResourceSummary.Builder consumableResourceProperties(ConsumableResourceProperties consumableResourceProperties)

      Contains a list of consumable resources required by the job.

      Parameters:
      consumableResourceProperties - Contains a list of consumable resources required by the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumableResourceProperties

      default ListJobsByConsumableResourceSummary.Builder consumableResourceProperties(Consumer<ConsumableResourceProperties.Builder> consumableResourceProperties)

      Contains a list of consumable resources required by the job.

      This is a convenience method that creates an instance of the ConsumableResourceProperties.Builder avoiding the need to create one manually via ConsumableResourceProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to consumableResourceProperties(ConsumableResourceProperties).

      Parameters:
      consumableResourceProperties - a consumer that will call methods on ConsumableResourceProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: