Interface BatchUpdateBillScenarioUsageModificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateBillScenarioUsageModificationResponse.Builder,
,BatchUpdateBillScenarioUsageModificationResponse> SdkBuilder<BatchUpdateBillScenarioUsageModificationResponse.Builder,
,BatchUpdateBillScenarioUsageModificationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateBillScenarioUsageModificationResponse
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.Returns the list of successful usage line items that were updated for a Bill Scenario.Returns the list of successful usage line items that were updated for a Bill Scenario.items
(BillScenarioUsageModificationItem... items) Returns the list of successful usage line items that were updated for a 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
BatchUpdateBillScenarioUsageModificationResponse.Builder items(Collection<BillScenarioUsageModificationItem> items) Returns the list of successful usage line items that were updated for a Bill Scenario.
- Parameters:
items
- Returns the list of successful usage 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
BatchUpdateBillScenarioUsageModificationResponse.Builder items(BillScenarioUsageModificationItem... items) Returns the list of successful usage line items that were updated for a Bill Scenario.
- Parameters:
items
- Returns the list of successful usage 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
BatchUpdateBillScenarioUsageModificationResponse.Builder items(Consumer<BillScenarioUsageModificationItem.Builder>... items) Returns the list of successful usage line items that were updated for a Bill Scenario.
This is a convenience method that creates an instance of theBillScenarioUsageModificationItem.Builder
avoiding the need to create one manually viaBillScenarioUsageModificationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<BillScenarioUsageModificationItem>)
.- Parameters:
items
- a consumer that will call methods onBillScenarioUsageModificationItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchUpdateBillScenarioUsageModificationResponse.Builder errors(Collection<BatchUpdateBillScenarioUsageModificationError> errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.
- Parameters:
errors
- Returns the list of error reasons and usage 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
BatchUpdateBillScenarioUsageModificationResponse.Builder errors(BatchUpdateBillScenarioUsageModificationError... errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.
- Parameters:
errors
- Returns the list of error reasons and usage 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
BatchUpdateBillScenarioUsageModificationResponse.Builder errors(Consumer<BatchUpdateBillScenarioUsageModificationError.Builder>... errors) Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.
This is a convenience method that creates an instance of theBatchUpdateBillScenarioUsageModificationError.Builder
avoiding the need to create one manually viaBatchUpdateBillScenarioUsageModificationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchUpdateBillScenarioUsageModificationError>)
.- Parameters:
errors
- a consumer that will call methods onBatchUpdateBillScenarioUsageModificationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-