Interface BatchUpdateBillScenarioUsageModificationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchUpdateBillScenarioUsageModificationResponse.Builder,BatchUpdateBillScenarioUsageModificationResponse>,SdkBuilder<BatchUpdateBillScenarioUsageModificationResponse.Builder,BatchUpdateBillScenarioUsageModificationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchUpdateBillScenarioUsageModificationResponse
public static interface BatchUpdateBillScenarioUsageModificationResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateBillScenarioUsageModificationResponse.Builder,BatchUpdateBillScenarioUsageModificationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateBillScenarioUsageModificationResponse.Buildererrors(Collection<BatchUpdateBillScenarioUsageModificationError> errors)Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.BatchUpdateBillScenarioUsageModificationResponse.Buildererrors(Consumer<BatchUpdateBillScenarioUsageModificationError.Builder>... errors)Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.BatchUpdateBillScenarioUsageModificationResponse.Buildererrors(BatchUpdateBillScenarioUsageModificationError... errors)Returns the list of error reasons and usage line item IDs that could not be updated for the Bill Scenario.BatchUpdateBillScenarioUsageModificationResponse.Builderitems(Collection<BillScenarioUsageModificationItem> items)Returns the list of successful usage line items that were updated for a Bill Scenario.BatchUpdateBillScenarioUsageModificationResponse.Builderitems(Consumer<BillScenarioUsageModificationItem.Builder>... items)Returns the list of successful usage line items that were updated for a Bill Scenario.BatchUpdateBillScenarioUsageModificationResponse.Builderitems(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 Detail
-
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.Builderavoiding the need to create one manually viaBillScenarioUsageModificationItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaBatchUpdateBillScenarioUsageModificationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-