Interface DescribeConsumableResourceResponse.Builder

  • Method Details

    • consumableResourceName

      DescribeConsumableResourceResponse.Builder consumableResourceName(String consumableResourceName)

      The name of the consumable resource.

      Parameters:
      consumableResourceName - The name of the consumable resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumableResourceArn

      DescribeConsumableResourceResponse.Builder consumableResourceArn(String consumableResourceArn)

      The Amazon Resource Name (ARN) of the consumable resource.

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

      DescribeConsumableResourceResponse.Builder totalQuantity(Long totalQuantity)

      The total amount of the consumable resource that is available.

      Parameters:
      totalQuantity - 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.
    • inUseQuantity

      DescribeConsumableResourceResponse.Builder inUseQuantity(Long inUseQuantity)

      The amount of the consumable resource that is currently in use.

      Parameters:
      inUseQuantity - The amount of the consumable resource that is currently in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableQuantity

      DescribeConsumableResourceResponse.Builder availableQuantity(Long availableQuantity)

      The amount of the consumable resource that is currently available to use.

      Parameters:
      availableQuantity - The amount of the consumable resource that is currently available to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      Indicates whether the resource is available to be re-used after a job completes. Can be one of:

      • REPLENISHABLE

      • NON_REPLENISHABLE

      Parameters:
      resourceType - Indicates whether the resource is available to be re-used after a job completes. Can be one of:

      • REPLENISHABLE

      • NON_REPLENISHABLE

      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.
    • tags

      The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

      Parameters:
      tags - The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.