Interface BillEstimateLineItemSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillEstimateLineItemSummary.Builder,BillEstimateLineItemSummary>,SdkBuilder<BillEstimateLineItemSummary.Builder,BillEstimateLineItemSummary>,SdkPojo
- Enclosing class:
- BillEstimateLineItemSummary
public static interface BillEstimateLineItemSummary.Builder extends SdkPojo, CopyableBuilder<BillEstimateLineItemSummary.Builder,BillEstimateLineItemSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BillEstimateLineItemSummary.BuilderavailabilityZone(String availabilityZone)The availability zone associated with this line item, if applicable.default BillEstimateLineItemSummary.BuilderestimatedCost(Consumer<CostAmount.Builder> estimatedCost)The estimated cost for this line item.BillEstimateLineItemSummary.BuilderestimatedCost(CostAmount estimatedCost)The estimated cost for this line item.default BillEstimateLineItemSummary.BuilderestimatedUsageQuantity(Consumer<UsageQuantityResult.Builder> estimatedUsageQuantity)The estimated usage quantity for this line item.BillEstimateLineItemSummary.BuilderestimatedUsageQuantity(UsageQuantityResult estimatedUsageQuantity)The estimated usage quantity for this line item.default BillEstimateLineItemSummary.BuilderhistoricalCost(Consumer<CostAmount.Builder> historicalCost)The historical cost for this line item.BillEstimateLineItemSummary.BuilderhistoricalCost(CostAmount historicalCost)The historical cost for this line item.default BillEstimateLineItemSummary.BuilderhistoricalUsageQuantity(Consumer<UsageQuantityResult.Builder> historicalUsageQuantity)The historical usage quantity for this line item.BillEstimateLineItemSummary.BuilderhistoricalUsageQuantity(UsageQuantityResult historicalUsageQuantity)The historical usage quantity for this line item.BillEstimateLineItemSummary.Builderid(String id)The unique identifier of this line item.BillEstimateLineItemSummary.BuilderlineItemId(String lineItemId)The line item identifier from the original bill.BillEstimateLineItemSummary.BuilderlineItemType(String lineItemType)The type of this line item (e.g., Usage, Tax, Credit).BillEstimateLineItemSummary.Builderlocation(String location)The location associated with this line item.BillEstimateLineItemSummary.Builderoperation(String operation)The specific operation associated with this line item.BillEstimateLineItemSummary.BuilderpayerAccountId(String payerAccountId)The Amazon Web Services account ID of the payer for this line item.BillEstimateLineItemSummary.BuildersavingsPlanArns(String... savingsPlanArns)The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.BillEstimateLineItemSummary.BuildersavingsPlanArns(Collection<String> savingsPlanArns)The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.BillEstimateLineItemSummary.BuilderserviceCode(String serviceCode)The Amazon Web Services service code associated with this line item.BillEstimateLineItemSummary.BuilderusageAccountId(String usageAccountId)The Amazon Web Services account ID associated with the usage for this line item.BillEstimateLineItemSummary.BuilderusageType(String usageType)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 Detail
-
serviceCode
BillEstimateLineItemSummary.Builder serviceCode(String 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
BillEstimateLineItemSummary.Builder usageType(String 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
BillEstimateLineItemSummary.Builder operation(String 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
BillEstimateLineItemSummary.Builder location(String 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
BillEstimateLineItemSummary.Builder availabilityZone(String 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
BillEstimateLineItemSummary.Builder id(String 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
BillEstimateLineItemSummary.Builder lineItemId(String 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
BillEstimateLineItemSummary.Builder lineItemType(String 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
BillEstimateLineItemSummary.Builder payerAccountId(String 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
BillEstimateLineItemSummary.Builder usageAccountId(String 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.Builderavoiding the need to create one manually viaUsageQuantityResult.builder().When the
Consumercompletes,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:
estimatedUsageQuantity(UsageQuantityResult)
-
estimatedCost
BillEstimateLineItemSummary.Builder estimatedCost(CostAmount 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.Builderavoiding the need to create one manually viaCostAmount.builder().When the
Consumercompletes,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:
estimatedCost(CostAmount)
-
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.Builderavoiding the need to create one manually viaUsageQuantityResult.builder().When the
Consumercompletes,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:
historicalUsageQuantity(UsageQuantityResult)
-
historicalCost
BillEstimateLineItemSummary.Builder historicalCost(CostAmount 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.Builderavoiding the need to create one manually viaCostAmount.builder().When the
Consumercompletes,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:
historicalCost(CostAmount)
-
savingsPlanArns
BillEstimateLineItemSummary.Builder savingsPlanArns(Collection<String> 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
BillEstimateLineItemSummary.Builder savingsPlanArns(String... 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.
-
-