Interface BatchUpdateBillScenarioCommitmentModificationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BcmPricingCalculatorRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateBillScenarioCommitmentModificationRequest.Builder,
,BatchUpdateBillScenarioCommitmentModificationRequest> SdkBuilder<BatchUpdateBillScenarioCommitmentModificationRequest.Builder,
,BatchUpdateBillScenarioCommitmentModificationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateBillScenarioCommitmentModificationRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateBillScenarioCommitmentModificationRequest.Builder
extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateBillScenarioCommitmentModificationRequest.Builder,BatchUpdateBillScenarioCommitmentModificationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbillScenarioId
(String billScenarioId) The ID of the Bill Scenario for which you want to modify the commitment group of a modeled commitment.commitmentModifications
(Collection<BatchUpdateBillScenarioCommitmentModificationEntry> commitmentModifications) List of commitments that you want to update in a Bill Scenario.commitmentModifications
(Consumer<BatchUpdateBillScenarioCommitmentModificationEntry.Builder>... commitmentModifications) List of commitments that you want to update in a Bill Scenario.commitmentModifications
(BatchUpdateBillScenarioCommitmentModificationEntry... commitmentModifications) List of commitments that you want to update in a Bill Scenario.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
billScenarioId
The ID of the Bill Scenario for which you want to modify the commitment group of a modeled commitment.
- Parameters:
billScenarioId
- The ID of the Bill Scenario for which you want to modify the commitment group of a modeled commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentModifications
BatchUpdateBillScenarioCommitmentModificationRequest.Builder commitmentModifications(Collection<BatchUpdateBillScenarioCommitmentModificationEntry> commitmentModifications) List of commitments that you want to update in a Bill Scenario.
- Parameters:
commitmentModifications
- List of commitments that you want to update in a Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentModifications
BatchUpdateBillScenarioCommitmentModificationRequest.Builder commitmentModifications(BatchUpdateBillScenarioCommitmentModificationEntry... commitmentModifications) List of commitments that you want to update in a Bill Scenario.
- Parameters:
commitmentModifications
- List of commitments that you want to update in a Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentModifications
BatchUpdateBillScenarioCommitmentModificationRequest.Builder commitmentModifications(Consumer<BatchUpdateBillScenarioCommitmentModificationEntry.Builder>... commitmentModifications) List of commitments that you want to update in a Bill Scenario.
This is a convenience method that creates an instance of theBatchUpdateBillScenarioCommitmentModificationEntry.Builder
avoiding the need to create one manually viaBatchUpdateBillScenarioCommitmentModificationEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommitmentModifications(List<BatchUpdateBillScenarioCommitmentModificationEntry>)
.- Parameters:
commitmentModifications
- a consumer that will call methods onBatchUpdateBillScenarioCommitmentModificationEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateBillScenarioCommitmentModificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateBillScenarioCommitmentModificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-