Interface BatchUpdateWorkloadEstimateUsageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateWorkloadEstimateUsageResponse.Builder,
,BatchUpdateWorkloadEstimateUsageResponse> SdkBuilder<BatchUpdateWorkloadEstimateUsageResponse.Builder,
,BatchUpdateWorkloadEstimateUsageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateWorkloadEstimateUsageResponse
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.errors
(BatchUpdateWorkloadEstimateUsageError... errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.items
(Collection<WorkloadEstimateUsageItem> items) Returns the list of successful usage line items that were updated for a Workload estimate.items
(Consumer<WorkloadEstimateUsageItem.Builder>... items) Returns the list of successful usage line items that were updated for a Workload estimate.items
(WorkloadEstimateUsageItem... items) Returns the list of successful usage line items that were updated for a Workload estimate.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
Returns the list of successful usage line items that were updated for a Workload estimate.
- Parameters:
items
- Returns the list of successful usage line items that were updated for a Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Returns the list of successful usage line items that were updated for a Workload estimate.
- Parameters:
items
- Returns the list of successful usage line items that were updated for a Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchUpdateWorkloadEstimateUsageResponse.Builder items(Consumer<WorkloadEstimateUsageItem.Builder>... items) Returns the list of successful usage line items that were updated for a Workload estimate.
This is a convenience method that creates an instance of theWorkloadEstimateUsageItem.Builder
avoiding the need to create one manually viaWorkloadEstimateUsageItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<WorkloadEstimateUsageItem>)
.- Parameters:
items
- a consumer that will call methods onWorkloadEstimateUsageItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchUpdateWorkloadEstimateUsageResponse.Builder errors(Collection<BatchUpdateWorkloadEstimateUsageError> errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.
- Parameters:
errors
- Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateWorkloadEstimateUsageResponse.Builder errors(BatchUpdateWorkloadEstimateUsageError... errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.
- Parameters:
errors
- Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateWorkloadEstimateUsageResponse.Builder errors(Consumer<BatchUpdateWorkloadEstimateUsageError.Builder>... errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.
This is a convenience method that creates an instance of theBatchUpdateWorkloadEstimateUsageError.Builder
avoiding the need to create one manually viaBatchUpdateWorkloadEstimateUsageError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchUpdateWorkloadEstimateUsageError>)
.- Parameters:
errors
- a consumer that will call methods onBatchUpdateWorkloadEstimateUsageError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-