Interface BatchUpdateBillScenarioUsageModificationEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchUpdateBillScenarioUsageModificationEntry.Builder,
,BatchUpdateBillScenarioUsageModificationEntry> SdkBuilder<BatchUpdateBillScenarioUsageModificationEntry.Builder,
,BatchUpdateBillScenarioUsageModificationEntry> SdkPojo
- Enclosing class:
BatchUpdateBillScenarioUsageModificationEntry
@Mutable
@NotThreadSafe
public static interface BatchUpdateBillScenarioUsageModificationEntry.Builder
extends SdkPojo, CopyableBuilder<BatchUpdateBillScenarioUsageModificationEntry.Builder,BatchUpdateBillScenarioUsageModificationEntry>
-
Method Summary
Modifier and TypeMethodDescriptionamounts
(Collection<UsageAmount> amounts) The updated usage amounts for the modification.amounts
(Consumer<UsageAmount.Builder>... amounts) The updated usage amounts for the modification.amounts
(UsageAmount... amounts) The updated usage amounts for the modification.The updated group identifier for the usage modification.The unique identifier of the usage modification to update.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 usage modification to update.
- Parameters:
id
- The unique identifier of the usage modification to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The updated group identifier for the usage modification.
- Parameters:
group
- The updated group identifier for the usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
The updated usage amounts for the modification.
- Parameters:
amounts
- The updated usage amounts for the modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
The updated usage amounts for the modification.
- Parameters:
amounts
- The updated usage amounts for the modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
BatchUpdateBillScenarioUsageModificationEntry.Builder amounts(Consumer<UsageAmount.Builder>... amounts) The updated usage amounts for the modification.
This is a convenience method that creates an instance of theUsageAmount.Builder
avoiding the need to create one manually viaUsageAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamounts(List<UsageAmount>)
.- Parameters:
amounts
- a consumer that will call methods onUsageAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-