Interface BillEstimateInputUsageModificationSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillEstimateInputUsageModificationSummary.Builder,BillEstimateInputUsageModificationSummary>,SdkBuilder<BillEstimateInputUsageModificationSummary.Builder,BillEstimateInputUsageModificationSummary>,SdkPojo
- Enclosing class:
- BillEstimateInputUsageModificationSummary
public static interface BillEstimateInputUsageModificationSummary.Builder extends SdkPojo, CopyableBuilder<BillEstimateInputUsageModificationSummary.Builder,BillEstimateInputUsageModificationSummary>
-
-
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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.Builder usageType(String 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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.Builder id(String 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
BillEstimateInputUsageModificationSummary.Builder group(String 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
BillEstimateInputUsageModificationSummary.Builder usageAccountId(String 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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.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
BillEstimateInputUsageModificationSummary.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 BillEstimateInputUsageModificationSummary.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)
-
-