Interface BillScenarioUsageModificationItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BillScenarioUsageModificationItem.Builder,
,BillScenarioUsageModificationItem> SdkBuilder<BillScenarioUsageModificationItem.Builder,
,BillScenarioUsageModificationItem> SdkPojo
- Enclosing class:
BillScenarioUsageModificationItem
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The availability zone associated with this usage modification, if applicable.The group identifier for the 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 of the usage modification.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 this usage modification.The type of usage being 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 being modified.
- Parameters:
usageType
- The type of usage being 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 of the usage modification.
- Parameters:
id
- The unique identifier of the usage modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The group identifier for the usage modification.
- Parameters:
group
- The group identifier for the 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 this usage modification.
- Parameters:
usageAccountId
- The Amazon Web Services account ID associated with this usage modification.- 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
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.
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
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 BillScenarioUsageModificationItem.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:
-