Interface BatchCreateBillScenarioCommitmentModificationItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateBillScenarioCommitmentModificationItem.Builder,BatchCreateBillScenarioCommitmentModificationItem>,SdkBuilder<BatchCreateBillScenarioCommitmentModificationItem.Builder,BatchCreateBillScenarioCommitmentModificationItem>,SdkPojo
- Enclosing class:
- BatchCreateBillScenarioCommitmentModificationItem
public static interface BatchCreateBillScenarioCommitmentModificationItem.Builder extends SdkPojo, CopyableBuilder<BatchCreateBillScenarioCommitmentModificationItem.Builder,BatchCreateBillScenarioCommitmentModificationItem>
-
-
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
-
key
BatchCreateBillScenarioCommitmentModificationItem.Builder key(String 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
BatchCreateBillScenarioCommitmentModificationItem.Builder id(String 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
BatchCreateBillScenarioCommitmentModificationItem.Builder group(String 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
BatchCreateBillScenarioCommitmentModificationItem.Builder usageAccountId(String 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.Builderavoiding the need to create one manually viaBillScenarioCommitmentModificationAction.builder().When the
Consumercompletes,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:
commitmentAction(BillScenarioCommitmentModificationAction)
-
-