Interface BatchUpdateWorkloadEstimateUsageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchUpdateWorkloadEstimateUsageResponse.Builder,BatchUpdateWorkloadEstimateUsageResponse>,SdkBuilder<BatchUpdateWorkloadEstimateUsageResponse.Builder,BatchUpdateWorkloadEstimateUsageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchUpdateWorkloadEstimateUsageResponse
public static interface BatchUpdateWorkloadEstimateUsageResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateWorkloadEstimateUsageResponse.Builder,BatchUpdateWorkloadEstimateUsageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateWorkloadEstimateUsageResponse.Buildererrors(Collection<BatchUpdateWorkloadEstimateUsageError> errors)Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.BatchUpdateWorkloadEstimateUsageResponse.Buildererrors(Consumer<BatchUpdateWorkloadEstimateUsageError.Builder>... errors)Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.BatchUpdateWorkloadEstimateUsageResponse.Buildererrors(BatchUpdateWorkloadEstimateUsageError... errors)Returns the list of error reasons and usage line item IDs that could not be updated for the Workload estimate.BatchUpdateWorkloadEstimateUsageResponse.Builderitems(Collection<WorkloadEstimateUsageItem> items)Returns the list of successful usage line items that were updated for a Workload estimate.BatchUpdateWorkloadEstimateUsageResponse.Builderitems(Consumer<WorkloadEstimateUsageItem.Builder>... items)Returns the list of successful usage line items that were updated for a Workload estimate.BatchUpdateWorkloadEstimateUsageResponse.Builderitems(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 Detail
-
items
BatchUpdateWorkloadEstimateUsageResponse.Builder items(Collection<WorkloadEstimateUsageItem> 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(WorkloadEstimateUsageItem... 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.Builderavoiding the need to create one manually viaWorkloadEstimateUsageItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaBatchUpdateWorkloadEstimateUsageError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-