Interface ListWorkloadEstimatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<ListWorkloadEstimatesResponse.Builder,
,ListWorkloadEstimatesResponse> SdkBuilder<ListWorkloadEstimatesResponse.Builder,
,ListWorkloadEstimatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorkloadEstimatesResponse
@Mutable
@NotThreadSafe
public static interface ListWorkloadEstimatesResponse.Builder
extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<ListWorkloadEstimatesResponse.Builder,ListWorkloadEstimatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<WorkloadEstimateSummary> items) The list of workload estimates for the account.items
(Consumer<WorkloadEstimateSummary.Builder>... items) The list of workload estimates for the account.items
(WorkloadEstimateSummary... items) The list of workload estimates for the account.A token to retrieve the next page of results, if any.Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of workload estimates for the account.
- Parameters:
items
- The list of workload estimates for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of workload estimates for the account.
- Parameters:
items
- The list of workload estimates for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of workload estimates for the account.
This is a convenience method that creates an instance of theWorkloadEstimateSummary.Builder
avoiding the need to create one manually viaWorkloadEstimateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<WorkloadEstimateSummary>)
.- Parameters:
items
- a consumer that will call methods onWorkloadEstimateSummary.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, if any.
- Parameters:
nextToken
- A token to retrieve the next page of results, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-