Interface SpendingLimitSummary.Builder

  • Method Details

    • spendingLimitArn

      SpendingLimitSummary.Builder spendingLimitArn(String spendingLimitArn)

      The Amazon Resource Name (ARN) that uniquely identifies the spending limit.

      Parameters:
      spendingLimitArn - The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceArn

      SpendingLimitSummary.Builder deviceArn(String deviceArn)

      The Amazon Resource Name (ARN) of the quantum device associated with this spending limit.

      Parameters:
      deviceArn - The Amazon Resource Name (ARN) of the quantum device associated with this spending limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timePeriod

      SpendingLimitSummary.Builder timePeriod(TimePeriod timePeriod)

      The time period during which the spending limit is active.

      Parameters:
      timePeriod - The time period during which the spending limit is active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timePeriod

      default SpendingLimitSummary.Builder timePeriod(Consumer<TimePeriod.Builder> timePeriod)

      The time period during which the spending limit is active.

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

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

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

      SpendingLimitSummary.Builder spendingLimit(String spendingLimit)

      The maximum spending amount allowed for the device during the specified time period, in USD.

      Parameters:
      spendingLimit - The maximum spending amount allowed for the device during the specified time period, in USD.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queuedSpend

      SpendingLimitSummary.Builder queuedSpend(String queuedSpend)

      The amount currently queued for spending on the device, in USD.

      Parameters:
      queuedSpend - The amount currently queued for spending on the device, in USD.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSpend

      SpendingLimitSummary.Builder totalSpend(String totalSpend)

      The total amount spent on the device so far during the current time period, in USD.

      Parameters:
      totalSpend - The total amount spent on the device so far during the current time period, in USD.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      SpendingLimitSummary.Builder createdAt(Instant createdAt)

      The date and time when the spending limit was created, in epoch seconds.

      Parameters:
      createdAt - The date and time when the spending limit was created, in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      SpendingLimitSummary.Builder updatedAt(Instant updatedAt)

      The date and time when the spending limit was last modified, in epoch seconds.

      Parameters:
      updatedAt - The date and time when the spending limit was last modified, in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the spending limit. Each tag consists of a key and an optional value.

      Parameters:
      tags - The tags associated with the spending limit. Each tag consists of a key and an optional value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.