Interface UpdateSpendingLimitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BraketRequest.Builder,Buildable,CopyableBuilder<UpdateSpendingLimitRequest.Builder,,UpdateSpendingLimitRequest> SdkBuilder<UpdateSpendingLimitRequest.Builder,,UpdateSpendingLimitRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSpendingLimitRequest
@Mutable
@NotThreadSafe
public static interface UpdateSpendingLimitRequest.Builder
extends BraketRequest.Builder, SdkPojo, CopyableBuilder<UpdateSpendingLimitRequest.Builder,UpdateSpendingLimitRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.spendingLimit(String spendingLimit) The new maximum amount that can be spent on the specified device, in USD.spendingLimitArn(String spendingLimitArn) The Amazon Resource Name (ARN) of the spending limit to update.timePeriod(Consumer<TimePeriod.Builder> timePeriod) The new time period during which the spending limit is active, including start and end dates.timePeriod(TimePeriod timePeriod) The new time period during which the spending limit is active, including start and end dates.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.braket.model.BraketRequest.Builder
buildMethods 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) of the spending limit to update.
- Parameters:
spendingLimitArn- The Amazon Resource Name (ARN) of the spending limit to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendingLimit
The new maximum amount that can be spent on the specified device, in USD.
- Parameters:
spendingLimit- The new maximum amount that can be spent on the specified device, in USD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
The new time period during which the spending limit is active, including start and end dates.
- Parameters:
timePeriod- The new time period during which the spending limit is active, including start and end dates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
The new time period during which the spending limit is active, including start and end dates.
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:
-
overrideConfiguration
UpdateSpendingLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSpendingLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-