Interface BillScenarioCommitmentModificationAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillScenarioCommitmentModificationAction.Builder,BillScenarioCommitmentModificationAction>,SdkBuilder<BillScenarioCommitmentModificationAction.Builder,BillScenarioCommitmentModificationAction>,SdkPojo
- Enclosing class:
- BillScenarioCommitmentModificationAction
public static interface BillScenarioCommitmentModificationAction.Builder extends SdkPojo, CopyableBuilder<BillScenarioCommitmentModificationAction.Builder,BillScenarioCommitmentModificationAction>
-
-
Method Summary
-
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
-
addReservedInstanceAction
BillScenarioCommitmentModificationAction.Builder addReservedInstanceAction(AddReservedInstanceAction addReservedInstanceAction)
Action to add a Reserved Instance to the scenario.
- Parameters:
addReservedInstanceAction- Action to add a Reserved Instance to the scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addReservedInstanceAction
default BillScenarioCommitmentModificationAction.Builder addReservedInstanceAction(Consumer<AddReservedInstanceAction.Builder> addReservedInstanceAction)
Action to add a Reserved Instance to the scenario.
This is a convenience method that creates an instance of theAddReservedInstanceAction.Builderavoiding the need to create one manually viaAddReservedInstanceAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddReservedInstanceAction(AddReservedInstanceAction).- Parameters:
addReservedInstanceAction- a consumer that will call methods onAddReservedInstanceAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
addReservedInstanceAction(AddReservedInstanceAction)
-
addSavingsPlanAction
BillScenarioCommitmentModificationAction.Builder addSavingsPlanAction(AddSavingsPlanAction addSavingsPlanAction)
Action to add a Savings Plan to the scenario.
- Parameters:
addSavingsPlanAction- Action to add a Savings Plan to the scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addSavingsPlanAction
default BillScenarioCommitmentModificationAction.Builder addSavingsPlanAction(Consumer<AddSavingsPlanAction.Builder> addSavingsPlanAction)
Action to add a Savings Plan to the scenario.
This is a convenience method that creates an instance of theAddSavingsPlanAction.Builderavoiding the need to create one manually viaAddSavingsPlanAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddSavingsPlanAction(AddSavingsPlanAction).- Parameters:
addSavingsPlanAction- a consumer that will call methods onAddSavingsPlanAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
addSavingsPlanAction(AddSavingsPlanAction)
-
negateReservedInstanceAction
BillScenarioCommitmentModificationAction.Builder negateReservedInstanceAction(NegateReservedInstanceAction negateReservedInstanceAction)
Action to remove a Reserved Instance from the scenario.
- Parameters:
negateReservedInstanceAction- Action to remove a Reserved Instance from the scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
negateReservedInstanceAction
default BillScenarioCommitmentModificationAction.Builder negateReservedInstanceAction(Consumer<NegateReservedInstanceAction.Builder> negateReservedInstanceAction)
Action to remove a Reserved Instance from the scenario.
This is a convenience method that creates an instance of theNegateReservedInstanceAction.Builderavoiding the need to create one manually viaNegateReservedInstanceAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonegateReservedInstanceAction(NegateReservedInstanceAction).- Parameters:
negateReservedInstanceAction- a consumer that will call methods onNegateReservedInstanceAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
negateReservedInstanceAction(NegateReservedInstanceAction)
-
negateSavingsPlanAction
BillScenarioCommitmentModificationAction.Builder negateSavingsPlanAction(NegateSavingsPlanAction negateSavingsPlanAction)
Action to remove a Savings Plan from the scenario.
- Parameters:
negateSavingsPlanAction- Action to remove a Savings Plan from the scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
negateSavingsPlanAction
default BillScenarioCommitmentModificationAction.Builder negateSavingsPlanAction(Consumer<NegateSavingsPlanAction.Builder> negateSavingsPlanAction)
Action to remove a Savings Plan from the scenario.
This is a convenience method that creates an instance of theNegateSavingsPlanAction.Builderavoiding the need to create one manually viaNegateSavingsPlanAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonegateSavingsPlanAction(NegateSavingsPlanAction).- Parameters:
negateSavingsPlanAction- a consumer that will call methods onNegateSavingsPlanAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
negateSavingsPlanAction(NegateSavingsPlanAction)
-
-