Interface BatchCreateBillScenarioCommitmentModificationItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchCreateBillScenarioCommitmentModificationItem.Builder,
,BatchCreateBillScenarioCommitmentModificationItem> SdkBuilder<BatchCreateBillScenarioCommitmentModificationItem.Builder,
,BatchCreateBillScenarioCommitmentModificationItem> SdkPojo
- Enclosing class:
BatchCreateBillScenarioCommitmentModificationItem
@Mutable
@NotThreadSafe
public static interface BatchCreateBillScenarioCommitmentModificationItem.Builder
extends SdkPojo, CopyableBuilder<BatchCreateBillScenarioCommitmentModificationItem.Builder,BatchCreateBillScenarioCommitmentModificationItem>
-
Method Summary
Modifier and TypeMethodDescriptioncommitmentAction
(Consumer<BillScenarioCommitmentModificationAction.Builder> commitmentAction) The specific commitment action that was taken.commitmentAction
(BillScenarioCommitmentModificationAction commitmentAction) The specific commitment action that was taken.The group identifier for the created commitment modification.The unique identifier assigned to the created commitment modification.The key of the successfully created entry.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with the created 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
-
key
The key of the successfully created entry. This can be any valid string. This key is useful to identify errors associated with any commitment entry as any error is returned with this key.
- Parameters:
key
- The key of the successfully created entry. This can be any valid string. This key is useful to identify errors associated with any commitment entry as any error is returned with this key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier assigned to the created commitment modification.
- Parameters:
id
- The unique identifier assigned to the created commitment modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The group identifier for the created commitment modification.
- Parameters:
group
- The group identifier for the created 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 the created commitment modification.
- Parameters:
usageAccountId
- The Amazon Web Services account ID associated with the created commitment modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentAction
BatchCreateBillScenarioCommitmentModificationItem.Builder commitmentAction(BillScenarioCommitmentModificationAction commitmentAction) The specific commitment action that was taken.
- Parameters:
commitmentAction
- The specific commitment action that was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentAction
default BatchCreateBillScenarioCommitmentModificationItem.Builder commitmentAction(Consumer<BillScenarioCommitmentModificationAction.Builder> commitmentAction) The specific commitment action that was taken.
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:
-