Interface BatchCreateBillScenarioCommitmentModificationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BcmPricingCalculatorRequest.Builder,Buildable,CopyableBuilder<BatchCreateBillScenarioCommitmentModificationRequest.Builder,BatchCreateBillScenarioCommitmentModificationRequest>,SdkBuilder<BatchCreateBillScenarioCommitmentModificationRequest.Builder,BatchCreateBillScenarioCommitmentModificationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchCreateBillScenarioCommitmentModificationRequest
public static interface BatchCreateBillScenarioCommitmentModificationRequest.Builder extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateBillScenarioCommitmentModificationRequest.Builder,BatchCreateBillScenarioCommitmentModificationRequest>
-
-
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
BatchCreateBillScenarioCommitmentModificationRequest.Builder billScenarioId(String billScenarioId)
The ID of the Bill Scenario for which you want to create the modeled commitment.
- Parameters:
billScenarioId- The ID of the Bill Scenario for which you want to create the modeled commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentModifications
BatchCreateBillScenarioCommitmentModificationRequest.Builder commitmentModifications(Collection<BatchCreateBillScenarioCommitmentModificationEntry> commitmentModifications)
List of commitments that you want to model in the Bill Scenario.
- Parameters:
commitmentModifications- List of commitments that you want to model in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentModifications
BatchCreateBillScenarioCommitmentModificationRequest.Builder commitmentModifications(BatchCreateBillScenarioCommitmentModificationEntry... commitmentModifications)
List of commitments that you want to model in the Bill Scenario.
- Parameters:
commitmentModifications- List of commitments that you want to model in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentModifications
BatchCreateBillScenarioCommitmentModificationRequest.Builder commitmentModifications(Consumer<BatchCreateBillScenarioCommitmentModificationEntry.Builder>... commitmentModifications)
List of commitments that you want to model in the Bill Scenario.
This is a convenience method that creates an instance of theBatchCreateBillScenarioCommitmentModificationEntry.Builderavoiding the need to create one manually viaBatchCreateBillScenarioCommitmentModificationEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#commitmentModifications(List.) - Parameters:
commitmentModifications- a consumer that will call methods onBatchCreateBillScenarioCommitmentModificationEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#commitmentModifications(java.util.Collection)
-
clientToken
BatchCreateBillScenarioCommitmentModificationRequest.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
BatchCreateBillScenarioCommitmentModificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchCreateBillScenarioCommitmentModificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-