Interface BatchUpdateBillScenarioCommitmentModificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchUpdateBillScenarioCommitmentModificationResponse.Builder,,BatchUpdateBillScenarioCommitmentModificationResponse> SdkBuilder<BatchUpdateBillScenarioCommitmentModificationResponse.Builder,,BatchUpdateBillScenarioCommitmentModificationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchUpdateBillScenarioCommitmentModificationResponse
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.Returns the list of successful commitment line items that were updated for a Bill Scenario.Returns the list of successful commitment line items that were updated for a Bill Scenario.items(BillScenarioCommitmentModificationItem... items) Returns the list of successful commitment line items that were updated for a Bill Scenario.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
-
items
BatchUpdateBillScenarioCommitmentModificationResponse.Builder items(Collection<BillScenarioCommitmentModificationItem> items) Returns the list of successful commitment line items that were updated for a Bill Scenario.
- Parameters:
items- Returns the list of successful commitment line items that were updated for a Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchUpdateBillScenarioCommitmentModificationResponse.Builder items(BillScenarioCommitmentModificationItem... items) Returns the list of successful commitment line items that were updated for a Bill Scenario.
- Parameters:
items- Returns the list of successful commitment line items that were updated for a Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchUpdateBillScenarioCommitmentModificationResponse.Builder items(Consumer<BillScenarioCommitmentModificationItem.Builder>... items) Returns the list of successful commitment line items that were updated for a Bill Scenario.
This is a convenience method that creates an instance of theBillScenarioCommitmentModificationItem.Builderavoiding the need to create one manually viaBillScenarioCommitmentModificationItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BillScenarioCommitmentModificationItem>).- Parameters:
items- a consumer that will call methods onBillScenarioCommitmentModificationItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchUpdateBillScenarioCommitmentModificationResponse.Builder errors(Collection<BatchUpdateBillScenarioCommitmentModificationError> errors) Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.
- Parameters:
errors- Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateBillScenarioCommitmentModificationResponse.Builder errors(BatchUpdateBillScenarioCommitmentModificationError... errors) Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.
- Parameters:
errors- Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateBillScenarioCommitmentModificationResponse.Builder errors(Consumer<BatchUpdateBillScenarioCommitmentModificationError.Builder>... errors) Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.
This is a convenience method that creates an instance of theBatchUpdateBillScenarioCommitmentModificationError.Builderavoiding the need to create one manually viaBatchUpdateBillScenarioCommitmentModificationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchUpdateBillScenarioCommitmentModificationError>).- Parameters:
errors- a consumer that will call methods onBatchUpdateBillScenarioCommitmentModificationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-