Interface BillEstimateLineItemSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BillEstimateLineItemSummary.Builder,
,BillEstimateLineItemSummary> SdkBuilder<BillEstimateLineItemSummary.Builder,
,BillEstimateLineItemSummary> SdkPojo
- Enclosing class:
BillEstimateLineItemSummary
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The availability zone associated with this line item, if applicable.estimatedCost
(Consumer<CostAmount.Builder> estimatedCost) The estimated cost for this line item.estimatedCost
(CostAmount estimatedCost) The estimated cost for this line item.estimatedUsageQuantity
(Consumer<UsageQuantityResult.Builder> estimatedUsageQuantity) The estimated usage quantity for this line item.estimatedUsageQuantity
(UsageQuantityResult estimatedUsageQuantity) The estimated usage quantity for this line item.historicalCost
(Consumer<CostAmount.Builder> historicalCost) The historical cost for this line item.historicalCost
(CostAmount historicalCost) The historical cost for this line item.historicalUsageQuantity
(Consumer<UsageQuantityResult.Builder> historicalUsageQuantity) The historical usage quantity for this line item.historicalUsageQuantity
(UsageQuantityResult historicalUsageQuantity) The historical usage quantity for this line item.The unique identifier of this line item.lineItemId
(String lineItemId) The line item identifier from the original bill.lineItemType
(String lineItemType) The type of this line item (e.g., Usage, Tax, Credit).The location associated with this line item.The specific operation associated with this line item.payerAccountId
(String payerAccountId) The Amazon Web Services account ID of the payer for this line item.savingsPlanArns
(String... savingsPlanArns) The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.savingsPlanArns
(Collection<String> savingsPlanArns) The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.serviceCode
(String serviceCode) The Amazon Web Services service code associated with this line item.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with the usage for this line item.The type of usage for this line item.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 associated with this line item.
- Parameters:
serviceCode
- The Amazon Web Services service code associated with this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The type of usage for this line item.
- Parameters:
usageType
- The type of usage for this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The specific operation associated with this line item.
- Parameters:
operation
- The specific operation associated with this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location associated with this line item.
- Parameters:
location
- The location associated with this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The availability zone associated with this line item, if applicable.
- Parameters:
availabilityZone
- The availability zone associated with this line item, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier of this line item.
- Parameters:
id
- The unique identifier of this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItemId
The line item identifier from the original bill.
- Parameters:
lineItemId
- The line item identifier from the original bill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItemType
The type of this line item (e.g., Usage, Tax, Credit).
- Parameters:
lineItemType
- The type of this line item (e.g., Usage, Tax, Credit).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payerAccountId
The Amazon Web Services account ID of the payer for this line item.
- Parameters:
payerAccountId
- The Amazon Web Services account ID of the payer for this line item.- 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 usage for this line item.
- Parameters:
usageAccountId
- The Amazon Web Services account ID associated with the usage for this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedUsageQuantity
BillEstimateLineItemSummary.Builder estimatedUsageQuantity(UsageQuantityResult estimatedUsageQuantity) The estimated usage quantity for this line item.
- Parameters:
estimatedUsageQuantity
- The estimated usage quantity for this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedUsageQuantity
default BillEstimateLineItemSummary.Builder estimatedUsageQuantity(Consumer<UsageQuantityResult.Builder> estimatedUsageQuantity) The estimated usage quantity for this line item.
This is a convenience method that creates an instance of theUsageQuantityResult.Builder
avoiding the need to create one manually viaUsageQuantityResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toestimatedUsageQuantity(UsageQuantityResult)
.- Parameters:
estimatedUsageQuantity
- a consumer that will call methods onUsageQuantityResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedCost
The estimated cost for this line item.
- Parameters:
estimatedCost
- The estimated cost for this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedCost
default BillEstimateLineItemSummary.Builder estimatedCost(Consumer<CostAmount.Builder> estimatedCost) The estimated cost for this line item.
This is a convenience method that creates an instance of theCostAmount.Builder
avoiding the need to create one manually viaCostAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toestimatedCost(CostAmount)
.- Parameters:
estimatedCost
- a consumer that will call methods onCostAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
historicalUsageQuantity
BillEstimateLineItemSummary.Builder historicalUsageQuantity(UsageQuantityResult historicalUsageQuantity) The historical usage quantity for this line item.
- Parameters:
historicalUsageQuantity
- The historical usage quantity for this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalUsageQuantity
default BillEstimateLineItemSummary.Builder historicalUsageQuantity(Consumer<UsageQuantityResult.Builder> historicalUsageQuantity) The historical usage quantity for this line item.
This is a convenience method that creates an instance of theUsageQuantityResult.Builder
avoiding the need to create one manually viaUsageQuantityResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohistoricalUsageQuantity(UsageQuantityResult)
.- Parameters:
historicalUsageQuantity
- a consumer that will call methods onUsageQuantityResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
historicalCost
The historical cost for this line item.
- Parameters:
historicalCost
- The historical cost for this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalCost
default BillEstimateLineItemSummary.Builder historicalCost(Consumer<CostAmount.Builder> historicalCost) The historical cost for this line item.
This is a convenience method that creates an instance of theCostAmount.Builder
avoiding the need to create one manually viaCostAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohistoricalCost(CostAmount)
.- Parameters:
historicalCost
- a consumer that will call methods onCostAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlanArns
The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.
- Parameters:
savingsPlanArns
- The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanArns
The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.
- Parameters:
savingsPlanArns
- The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-