Interface BatchDeleteBillScenarioUsageModificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<BatchDeleteBillScenarioUsageModificationResponse.Builder,
,BatchDeleteBillScenarioUsageModificationResponse> SdkBuilder<BatchDeleteBillScenarioUsageModificationResponse.Builder,
,BatchDeleteBillScenarioUsageModificationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDeleteBillScenarioUsageModificationResponse
@Mutable
@NotThreadSafe
public static interface BatchDeleteBillScenarioUsageModificationResponse.Builder
extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteBillScenarioUsageModificationResponse.Builder,BatchDeleteBillScenarioUsageModificationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.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
-
errors
BatchDeleteBillScenarioUsageModificationResponse.Builder errors(Collection<BatchDeleteBillScenarioUsageModificationError> errors) Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.
- Parameters:
errors
- Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteBillScenarioUsageModificationResponse.Builder errors(BatchDeleteBillScenarioUsageModificationError... errors) Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.
- Parameters:
errors
- Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteBillScenarioUsageModificationResponse.Builder errors(Consumer<BatchDeleteBillScenarioUsageModificationError.Builder>... errors) Returns the list of errors reason and the usage item keys that cannot be deleted from the Bill Scenario.
This is a convenience method that creates an instance of theBatchDeleteBillScenarioUsageModificationError.Builder
avoiding the need to create one manually viaBatchDeleteBillScenarioUsageModificationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchDeleteBillScenarioUsageModificationError>)
.- Parameters:
errors
- a consumer that will call methods onBatchDeleteBillScenarioUsageModificationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-