Interface BatchCreateBillScenarioUsageModificationItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchCreateBillScenarioUsageModificationItem.Builder,
,BatchCreateBillScenarioUsageModificationItem> SdkBuilder<BatchCreateBillScenarioUsageModificationItem.Builder,
,BatchCreateBillScenarioUsageModificationItem> SdkPojo
- Enclosing class:
BatchCreateBillScenarioUsageModificationItem
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The availability zone associated with this usage modification, if applicable.The group identifier for the created usage modification.historicalUsage
(Consumer<HistoricalUsageEntity.Builder> historicalUsage) Historical usage data associated with this modification, if available.historicalUsage
(HistoricalUsageEntity historicalUsage) Historical usage data associated with this modification, if available.The unique identifier assigned to the created usage modification.The key of the successfully created entry.The location associated with this usage modification.The specific operation associated with this usage modification.quantities
(Collection<UsageQuantity> quantities) The modified usage quantities.quantities
(Consumer<UsageQuantity.Builder>... quantities) The modified usage quantities.quantities
(UsageQuantity... quantities) The modified usage quantities.serviceCode
(String serviceCode) The Amazon Web Services service code for this usage modification.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with the created usage modification.The type of usage that was modified.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
-
serviceCode
The Amazon Web Services service code for this usage modification.
- Parameters:
serviceCode
- The Amazon Web Services service code for this usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The type of usage that was modified.
- Parameters:
usageType
- The type of usage that was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The specific operation associated with this usage modification.
- Parameters:
operation
- The specific operation associated with this usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location associated with this usage modification.
- Parameters:
location
- The location associated with this usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The availability zone associated with this usage modification, if applicable.
- Parameters:
availabilityZone
- The availability zone associated with this usage modification, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier assigned to the created usage modification.
- Parameters:
id
- The unique identifier assigned to the created usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The group identifier for the created usage modification.
- Parameters:
group
- The group identifier for the created usage 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 usage modification.
- Parameters:
usageAccountId
- The Amazon Web Services account ID associated with the created usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantities
BatchCreateBillScenarioUsageModificationItem.Builder quantities(Collection<UsageQuantity> quantities) The modified usage quantities.
- Parameters:
quantities
- The modified usage quantities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantities
The modified usage quantities.
- Parameters:
quantities
- The modified usage quantities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantities
BatchCreateBillScenarioUsageModificationItem.Builder quantities(Consumer<UsageQuantity.Builder>... quantities) The modified usage quantities.
This is a convenience method that creates an instance of theUsageQuantity.Builder
avoiding the need to create one manually viaUsageQuantity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquantities(List<UsageQuantity>)
.- Parameters:
quantities
- a consumer that will call methods onUsageQuantity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
historicalUsage
BatchCreateBillScenarioUsageModificationItem.Builder historicalUsage(HistoricalUsageEntity historicalUsage) Historical usage data associated with this modification, if available.
- Parameters:
historicalUsage
- Historical usage data associated with this modification, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalUsage
default BatchCreateBillScenarioUsageModificationItem.Builder historicalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage) Historical usage data associated with this modification, if available.
This is a convenience method that creates an instance of theHistoricalUsageEntity.Builder
avoiding the need to create one manually viaHistoricalUsageEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohistoricalUsage(HistoricalUsageEntity)
.- Parameters:
historicalUsage
- a consumer that will call methods onHistoricalUsageEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
key
The key of the successfully created entry.
- Parameters:
key
- The key of the successfully created entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-