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