Interface BatchCreateBillScenarioUsageModificationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BcmPricingCalculatorRequest.Builder,Buildable,CopyableBuilder<BatchCreateBillScenarioUsageModificationRequest.Builder,BatchCreateBillScenarioUsageModificationRequest>,SdkBuilder<BatchCreateBillScenarioUsageModificationRequest.Builder,BatchCreateBillScenarioUsageModificationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchCreateBillScenarioUsageModificationRequest
public static interface BatchCreateBillScenarioUsageModificationRequest.Builder extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateBillScenarioUsageModificationRequest.Builder,BatchCreateBillScenarioUsageModificationRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
billScenarioId
BatchCreateBillScenarioUsageModificationRequest.Builder billScenarioId(String billScenarioId)
The ID of the Bill Scenario for which you want to create the modeled usage.
- Parameters:
billScenarioId- The ID of the Bill Scenario for which you want to create the modeled usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageModifications
BatchCreateBillScenarioUsageModificationRequest.Builder usageModifications(Collection<BatchCreateBillScenarioUsageModificationEntry> usageModifications)
List of usage that you want to model in the Bill Scenario.
- Parameters:
usageModifications- List of usage that you want to model in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageModifications
BatchCreateBillScenarioUsageModificationRequest.Builder usageModifications(BatchCreateBillScenarioUsageModificationEntry... usageModifications)
List of usage that you want to model in the Bill Scenario.
- Parameters:
usageModifications- List of usage that you want to model in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageModifications
BatchCreateBillScenarioUsageModificationRequest.Builder usageModifications(Consumer<BatchCreateBillScenarioUsageModificationEntry.Builder>... usageModifications)
List of usage that you want to model in the Bill Scenario.
This is a convenience method that creates an instance of theBatchCreateBillScenarioUsageModificationEntry.Builderavoiding the need to create one manually viaBatchCreateBillScenarioUsageModificationEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#usageModifications(List.) - Parameters:
usageModifications- a consumer that will call methods onBatchCreateBillScenarioUsageModificationEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#usageModifications(java.util.Collection)
-
clientToken
BatchCreateBillScenarioUsageModificationRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchCreateBillScenarioUsageModificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchCreateBillScenarioUsageModificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-