Interface BatchCreateBillScenarioUsageModificationItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateBillScenarioUsageModificationItem.Builder,BatchCreateBillScenarioUsageModificationItem>,SdkBuilder<BatchCreateBillScenarioUsageModificationItem.Builder,BatchCreateBillScenarioUsageModificationItem>,SdkPojo
- Enclosing class:
- BatchCreateBillScenarioUsageModificationItem
public static interface BatchCreateBillScenarioUsageModificationItem.Builder extends SdkPojo, CopyableBuilder<BatchCreateBillScenarioUsageModificationItem.Builder,BatchCreateBillScenarioUsageModificationItem>
-
-
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
-
serviceCode
BatchCreateBillScenarioUsageModificationItem.Builder serviceCode(String 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
BatchCreateBillScenarioUsageModificationItem.Builder usageType(String 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
BatchCreateBillScenarioUsageModificationItem.Builder operation(String 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
BatchCreateBillScenarioUsageModificationItem.Builder location(String 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
BatchCreateBillScenarioUsageModificationItem.Builder availabilityZone(String 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
BatchCreateBillScenarioUsageModificationItem.Builder id(String 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
BatchCreateBillScenarioUsageModificationItem.Builder group(String 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
BatchCreateBillScenarioUsageModificationItem.Builder usageAccountId(String 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
BatchCreateBillScenarioUsageModificationItem.Builder quantities(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
BatchCreateBillScenarioUsageModificationItem.Builder quantities(Consumer<UsageQuantity.Builder>... quantities)
The modified usage quantities.
This is a convenience method that creates an instance of theUsageQuantity.Builderavoiding the need to create one manually viaUsageQuantity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#quantities(List.) - 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:
#quantities(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaHistoricalUsageEntity.builder().When the
Consumercompletes,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:
historicalUsage(HistoricalUsageEntity)
-
key
BatchCreateBillScenarioUsageModificationItem.Builder key(String 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.
-
-