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