Interface ListWorkloadEstimatesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BcmPricingCalculatorRequest.Builder,Buildable,CopyableBuilder<ListWorkloadEstimatesRequest.Builder,,ListWorkloadEstimatesRequest> SdkBuilder<ListWorkloadEstimatesRequest.Builder,,ListWorkloadEstimatesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListWorkloadEstimatesRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatedAtFilter(Consumer<FilterTimestamp.Builder> createdAtFilter) Filter workload estimates based on the creation date.createdAtFilter(FilterTimestamp createdAtFilter) Filter workload estimates based on the creation date.expiresAtFilter(Consumer<FilterTimestamp.Builder> expiresAtFilter) Filter workload estimates based on the expiration date.expiresAtFilter(FilterTimestamp expiresAtFilter) Filter workload estimates based on the expiration date.filters(Collection<ListWorkloadEstimatesFilter> filters) Filters to apply to the list of workload estimates.filters(Consumer<ListWorkloadEstimatesFilter.Builder>... filters) Filters to apply to the list of workload estimates.filters(ListWorkloadEstimatesFilter... filters) Filters to apply to the list of workload estimates.maxResults(Integer maxResults) The maximum number of results to return per page.A 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.bcmpricingcalculator.model.BcmPricingCalculatorRequest.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
-
createdAtFilter
Filter workload estimates based on the creation date.
- Parameters:
createdAtFilter- Filter workload estimates based on the creation date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAtFilter
default ListWorkloadEstimatesRequest.Builder createdAtFilter(Consumer<FilterTimestamp.Builder> createdAtFilter) Filter workload estimates based on the creation date.
This is a convenience method that creates an instance of theFilterTimestamp.Builderavoiding the need to create one manually viaFilterTimestamp.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedAtFilter(FilterTimestamp).- Parameters:
createdAtFilter- a consumer that will call methods onFilterTimestamp.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expiresAtFilter
Filter workload estimates based on the expiration date.
- Parameters:
expiresAtFilter- Filter workload estimates based on the expiration date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAtFilter
default ListWorkloadEstimatesRequest.Builder expiresAtFilter(Consumer<FilterTimestamp.Builder> expiresAtFilter) Filter workload estimates based on the expiration date.
This is a convenience method that creates an instance of theFilterTimestamp.Builderavoiding the need to create one manually viaFilterTimestamp.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpiresAtFilter(FilterTimestamp).- Parameters:
expiresAtFilter- a consumer that will call methods onFilterTimestamp.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Filters to apply to the list of workload estimates.
- Parameters:
filters- Filters to apply to the list of workload estimates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to apply to the list of workload estimates.
- Parameters:
filters- Filters to apply to the list of workload estimates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListWorkloadEstimatesRequest.Builder filters(Consumer<ListWorkloadEstimatesFilter.Builder>... filters) Filters to apply to the list of workload estimates.
This is a convenience method that creates an instance of theListWorkloadEstimatesFilter.Builderavoiding the need to create one manually viaListWorkloadEstimatesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<ListWorkloadEstimatesFilter>).- Parameters:
filters- a consumer that will call methods onListWorkloadEstimatesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to retrieve the next page of results.
- Parameters:
nextToken- A token to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListWorkloadEstimatesRequest.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
ListWorkloadEstimatesRequest.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.
-