Interface BatchUpdateBillScenarioUsageModificationEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchUpdateBillScenarioUsageModificationEntry.Builder,BatchUpdateBillScenarioUsageModificationEntry>,SdkBuilder<BatchUpdateBillScenarioUsageModificationEntry.Builder,BatchUpdateBillScenarioUsageModificationEntry>,SdkPojo
- Enclosing class:
- BatchUpdateBillScenarioUsageModificationEntry
public static interface BatchUpdateBillScenarioUsageModificationEntry.Builder extends SdkPojo, CopyableBuilder<BatchUpdateBillScenarioUsageModificationEntry.Builder,BatchUpdateBillScenarioUsageModificationEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateBillScenarioUsageModificationEntry.Builderamounts(Collection<UsageAmount> amounts)The updated usage amounts for the modification.BatchUpdateBillScenarioUsageModificationEntry.Builderamounts(Consumer<UsageAmount.Builder>... amounts)The updated usage amounts for the modification.BatchUpdateBillScenarioUsageModificationEntry.Builderamounts(UsageAmount... amounts)The updated usage amounts for the modification.BatchUpdateBillScenarioUsageModificationEntry.Buildergroup(String group)The updated group identifier for the usage modification.BatchUpdateBillScenarioUsageModificationEntry.Builderid(String id)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 Detail
-
id
BatchUpdateBillScenarioUsageModificationEntry.Builder id(String 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
BatchUpdateBillScenarioUsageModificationEntry.Builder group(String 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
BatchUpdateBillScenarioUsageModificationEntry.Builder amounts(Collection<UsageAmount> 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(UsageAmount... 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.Builderavoiding the need to create one manually viaUsageAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#amounts(List.) - 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:
#amounts(java.util.Collection)
-
-