Interface ListWorkloadEstimatesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BcmPricingCalculatorRequest.Builder,Buildable,CopyableBuilder<ListWorkloadEstimatesRequest.Builder,ListWorkloadEstimatesRequest>,SdkBuilder<ListWorkloadEstimatesRequest.Builder,ListWorkloadEstimatesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListWorkloadEstimatesRequest
public static interface ListWorkloadEstimatesRequest.Builder extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<ListWorkloadEstimatesRequest.Builder,ListWorkloadEstimatesRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
createdAtFilter
ListWorkloadEstimatesRequest.Builder createdAtFilter(FilterTimestamp 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:
createdAtFilter(FilterTimestamp)
-
expiresAtFilter
ListWorkloadEstimatesRequest.Builder expiresAtFilter(FilterTimestamp 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:
expiresAtFilter(FilterTimestamp)
-
filters
ListWorkloadEstimatesRequest.Builder filters(Collection<ListWorkloadEstimatesFilter> 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(ListWorkloadEstimatesFilter... 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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
nextToken
ListWorkloadEstimatesRequest.Builder nextToken(String 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
ListWorkloadEstimatesRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListWorkloadEstimatesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-