Interface BatchCreateBillScenarioCommitmentModificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<BatchCreateBillScenarioCommitmentModificationResponse.Builder,
,BatchCreateBillScenarioCommitmentModificationResponse> SdkBuilder<BatchCreateBillScenarioCommitmentModificationResponse.Builder,
,BatchCreateBillScenarioCommitmentModificationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCreateBillScenarioCommitmentModificationResponse
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.Returns the list of successful commitment line items that were created for the Bill Scenario.Returns the list of successful commitment line items that were created for the Bill Scenario.Returns the list of successful commitment line items that were created for 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
-
items
BatchCreateBillScenarioCommitmentModificationResponse.Builder items(Collection<BatchCreateBillScenarioCommitmentModificationItem> items) Returns the list of successful commitment line items that were created for the Bill Scenario.
- Parameters:
items
- Returns the list of successful commitment line items that were created for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateBillScenarioCommitmentModificationResponse.Builder items(BatchCreateBillScenarioCommitmentModificationItem... items) Returns the list of successful commitment line items that were created for the Bill Scenario.
- Parameters:
items
- Returns the list of successful commitment line items that were created for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateBillScenarioCommitmentModificationResponse.Builder items(Consumer<BatchCreateBillScenarioCommitmentModificationItem.Builder>... items) Returns the list of successful commitment line items that were created for the Bill Scenario.
This is a convenience method that creates an instance of theBatchCreateBillScenarioCommitmentModificationItem.Builder
avoiding the need to create one manually viaBatchCreateBillScenarioCommitmentModificationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<BatchCreateBillScenarioCommitmentModificationItem>)
.- Parameters:
items
- a consumer that will call methods onBatchCreateBillScenarioCommitmentModificationItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchCreateBillScenarioCommitmentModificationResponse.Builder errors(Collection<BatchCreateBillScenarioCommitmentModificationError> errors) Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.
- Parameters:
errors
- Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateBillScenarioCommitmentModificationResponse.Builder errors(BatchCreateBillScenarioCommitmentModificationError... errors) Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.
- Parameters:
errors
- Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateBillScenarioCommitmentModificationResponse.Builder errors(Consumer<BatchCreateBillScenarioCommitmentModificationError.Builder>... errors) Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.
This is a convenience method that creates an instance of theBatchCreateBillScenarioCommitmentModificationError.Builder
avoiding the need to create one manually viaBatchCreateBillScenarioCommitmentModificationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchCreateBillScenarioCommitmentModificationError>)
.- Parameters:
errors
- a consumer that will call methods onBatchCreateBillScenarioCommitmentModificationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-