Interface SearchSpendingLimitsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BraketRequest.Builder,Buildable,CopyableBuilder<SearchSpendingLimitsRequest.Builder,,SearchSpendingLimitsRequest> SdkBuilder<SearchSpendingLimitsRequest.Builder,,SearchSpendingLimitsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchSpendingLimitsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SearchSpendingLimitsFilter> filters) The filters to apply when searching for spending limits.filters(Consumer<SearchSpendingLimitsFilter.Builder>... filters) The filters to apply when searching for spending limits.filters(SearchSpendingLimitsFilter... filters) The filters to apply when searching for spending limits.maxResults(Integer maxResults) The maximum number of results to return in a single call.The token to retrieve the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
nextToken
The token to retrieve the next page of results. This value is returned from a previous call to SearchSpendingLimits when there are more results available.
- Parameters:
nextToken- The token to retrieve the next page of results. This value is returned from a previous call to SearchSpendingLimits when there are more results available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in a single call. Minimum value of 1, maximum value of 100. Default is 20.
- Parameters:
maxResults- The maximum number of results to return in a single call. Minimum value of 1, maximum value of 100. Default is 20.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.
- Parameters:
filters- The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.
- Parameters:
filters- The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchSpendingLimitsRequest.Builder filters(Consumer<SearchSpendingLimitsFilter.Builder>... filters) The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.
This is a convenience method that creates an instance of theSearchSpendingLimitsFilter.Builderavoiding the need to create one manually viaSearchSpendingLimitsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SearchSpendingLimitsFilter>).- Parameters:
filters- a consumer that will call methods onSearchSpendingLimitsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchSpendingLimitsRequest.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
SearchSpendingLimitsRequest.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.
-