Interface SearchSpendingLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BraketResponse.Builder,Buildable,CopyableBuilder<SearchSpendingLimitsResponse.Builder,,SearchSpendingLimitsResponse> SdkBuilder<SearchSpendingLimitsResponse.Builder,,SearchSpendingLimitsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchSpendingLimitsResponse
@Mutable
@NotThreadSafe
public static interface SearchSpendingLimitsResponse.Builder
extends BraketResponse.Builder, SdkPojo, CopyableBuilder<SearchSpendingLimitsResponse.Builder,SearchSpendingLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to retrieve the next page of results.spendingLimits(Collection<SpendingLimitSummary> spendingLimits) An array of spending limit summaries that match the specified filters.spendingLimits(Consumer<SpendingLimitSummary.Builder>... spendingLimits) An array of spending limit summaries that match the specified filters.spendingLimits(SpendingLimitSummary... spendingLimits) An array of spending limit summaries that match the specified filters.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
spendingLimits
SearchSpendingLimitsResponse.Builder spendingLimits(Collection<SpendingLimitSummary> spendingLimits) An array of spending limit summaries that match the specified filters.
- Parameters:
spendingLimits- An array of spending limit summaries that match the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendingLimits
An array of spending limit summaries that match the specified filters.
- Parameters:
spendingLimits- An array of spending limit summaries that match the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendingLimits
SearchSpendingLimitsResponse.Builder spendingLimits(Consumer<SpendingLimitSummary.Builder>... spendingLimits) An array of spending limit summaries that match the specified filters.
This is a convenience method that creates an instance of theSpendingLimitSummary.Builderavoiding the need to create one manually viaSpendingLimitSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospendingLimits(List<SpendingLimitSummary>).- Parameters:
spendingLimits- a consumer that will call methods onSpendingLimitSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-