Interface BatchDeleteWorkloadEstimateUsageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchDeleteWorkloadEstimateUsageResponse.Builder,,BatchDeleteWorkloadEstimateUsageResponse> SdkBuilder<BatchDeleteWorkloadEstimateUsageResponse.Builder,,BatchDeleteWorkloadEstimateUsageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteWorkloadEstimateUsageResponse
@Mutable
@NotThreadSafe
public static interface BatchDeleteWorkloadEstimateUsageResponse.Builder
extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteWorkloadEstimateUsageResponse.Builder,BatchDeleteWorkloadEstimateUsageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.Returns the list of errors reason and the usage item keys that cannot be deleted from the Workload estimate.errors(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 toerrors(List<BatchDeleteWorkloadEstimateUsageError>).- 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:
-