Interface BillScenarioCommitmentModificationItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BillScenarioCommitmentModificationItem.Builder,
,BillScenarioCommitmentModificationItem> SdkBuilder<BillScenarioCommitmentModificationItem.Builder,
,BillScenarioCommitmentModificationItem> SdkPojo
- Enclosing class:
BillScenarioCommitmentModificationItem
@Mutable
@NotThreadSafe
public static interface BillScenarioCommitmentModificationItem.Builder
extends SdkPojo, CopyableBuilder<BillScenarioCommitmentModificationItem.Builder,BillScenarioCommitmentModificationItem>
-
Method Summary
Modifier and TypeMethodDescriptioncommitmentAction
(Consumer<BillScenarioCommitmentModificationAction.Builder> commitmentAction) The specific commitment action taken in this modification.commitmentAction
(BillScenarioCommitmentModificationAction commitmentAction) The specific commitment action taken in this modification.The group identifier for the commitment modification.The unique identifier of the commitment modification.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with this commitment modification.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
-
id
The unique identifier of the commitment modification.
- Parameters:
id
- The unique identifier of the commitment modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageAccountId
The Amazon Web Services account ID associated with this commitment modification.
- Parameters:
usageAccountId
- The Amazon Web Services account ID associated with this commitment modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The group identifier for the commitment modification.
- Parameters:
group
- The group identifier for the commitment modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentAction
BillScenarioCommitmentModificationItem.Builder commitmentAction(BillScenarioCommitmentModificationAction commitmentAction) The specific commitment action taken in this modification.
- Parameters:
commitmentAction
- The specific commitment action taken in this modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentAction
default BillScenarioCommitmentModificationItem.Builder commitmentAction(Consumer<BillScenarioCommitmentModificationAction.Builder> commitmentAction) The specific commitment action taken in this modification.
This is a convenience method that creates an instance of theBillScenarioCommitmentModificationAction.Builder
avoiding the need to create one manually viaBillScenarioCommitmentModificationAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommitmentAction(BillScenarioCommitmentModificationAction)
.- Parameters:
commitmentAction
- a consumer that will call methods onBillScenarioCommitmentModificationAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-