Interface BatchCreateBillScenarioUsageModificationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchCreateBillScenarioUsageModificationResponse.Builder,BatchCreateBillScenarioUsageModificationResponse>,SdkBuilder<BatchCreateBillScenarioUsageModificationResponse.Builder,BatchCreateBillScenarioUsageModificationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchCreateBillScenarioUsageModificationResponse
public static interface BatchCreateBillScenarioUsageModificationResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateBillScenarioUsageModificationResponse.Builder,BatchCreateBillScenarioUsageModificationResponse>
-
-
Method Summary
-
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
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.Builderavoiding the need to create one manually viaBatchCreateBillScenarioUsageModificationItem.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 onBatchCreateBillScenarioUsageModificationItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaBatchCreateBillScenarioUsageModificationError.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 onBatchCreateBillScenarioUsageModificationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-