Interface SpendingLimitSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SpendingLimitSummary.Builder,,SpendingLimitSummary> SdkBuilder<SpendingLimitSummary.Builder,,SpendingLimitSummary> SdkPojo
- Enclosing class:
SpendingLimitSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the spending limit was created, in epoch seconds.The Amazon Resource Name (ARN) of the quantum device associated with this spending limit.queuedSpend(String queuedSpend) The amount currently queued for spending on the device, in USD.spendingLimit(String spendingLimit) The maximum spending amount allowed for the device during the specified time period, in USD.spendingLimitArn(String spendingLimitArn) The Amazon Resource Name (ARN) that uniquely identifies the spending limit.The tags associated with the spending limit.default SpendingLimitSummary.BuildertimePeriod(Consumer<TimePeriod.Builder> timePeriod) The time period during which the spending limit is active.timePeriod(TimePeriod timePeriod) The time period during which the spending limit is active.totalSpend(String totalSpend) The total amount spent on the device so far during the current time period, in USD.The date and time when the spending limit was last modified, in epoch seconds.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
The time period during which the spending limit is active.
This is a convenience method that creates an instance of theTimePeriod.Builderavoiding the need to create one manually viaTimePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(TimePeriod).- Parameters:
timePeriod- a consumer that will call methods onTimePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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.
-