Interface BatchDeleteWorkloadEstimateUsageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchDeleteWorkloadEstimateUsageResponse.Builder,BatchDeleteWorkloadEstimateUsageResponse>,SdkBuilder<BatchDeleteWorkloadEstimateUsageResponse.Builder,BatchDeleteWorkloadEstimateUsageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchDeleteWorkloadEstimateUsageResponse
public static interface BatchDeleteWorkloadEstimateUsageResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteWorkloadEstimateUsageResponse.Builder,BatchDeleteWorkloadEstimateUsageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeleteWorkloadEstimateUsageResponse.Buildererrors(Collection<BatchDeleteWorkloadEstimateUsageError> errors)Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.BatchDeleteWorkloadEstimateUsageResponse.Buildererrors(Consumer<BatchDeleteWorkloadEstimateUsageError.Builder>... errors)Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.BatchDeleteWorkloadEstimateUsageResponse.Buildererrors(BatchDeleteWorkloadEstimateUsageError... errors)Returns the list of errors reason and the usage item keys that cannot be deleted from the 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
-
errors
BatchDeleteWorkloadEstimateUsageResponse.Builder errors(Collection<BatchDeleteWorkloadEstimateUsageError> errors)
Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.
- Parameters:
errors- Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteWorkloadEstimateUsageResponse.Builder errors(BatchDeleteWorkloadEstimateUsageError... errors)
Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.
- Parameters:
errors- Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteWorkloadEstimateUsageResponse.Builder errors(Consumer<BatchDeleteWorkloadEstimateUsageError.Builder>... errors)
Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.
This is a convenience method that creates an instance of theBatchDeleteWorkloadEstimateUsageError.Builderavoiding the need to create one manually viaBatchDeleteWorkloadEstimateUsageError.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 onBatchDeleteWorkloadEstimateUsageError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-