Interface WorkloadEstimateUsageItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkloadEstimateUsageItem.Builder,WorkloadEstimateUsageItem>,SdkBuilder<WorkloadEstimateUsageItem.Builder,WorkloadEstimateUsageItem>,SdkPojo
- Enclosing class:
- WorkloadEstimateUsageItem
public static interface WorkloadEstimateUsageItem.Builder extends SdkPojo, CopyableBuilder<WorkloadEstimateUsageItem.Builder,WorkloadEstimateUsageItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkloadEstimateUsageItem.Buildercost(Double cost)The estimated cost for this usage item.WorkloadEstimateUsageItem.Buildercurrency(String currency)The currency of the estimated cost.WorkloadEstimateUsageItem.Buildercurrency(CurrencyCode currency)The currency of the estimated cost.WorkloadEstimateUsageItem.Buildergroup(String group)The group identifier for this usage item.default WorkloadEstimateUsageItem.BuilderhistoricalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)Historical usage data associated with this item, if available.WorkloadEstimateUsageItem.BuilderhistoricalUsage(HistoricalUsageEntity historicalUsage)Historical usage data associated with this item, if available.WorkloadEstimateUsageItem.Builderid(String id)The unique identifier of this usage item.WorkloadEstimateUsageItem.Builderlocation(String location)The location associated with this usage item.WorkloadEstimateUsageItem.Builderoperation(String operation)The specific operation associated with this usage item.default WorkloadEstimateUsageItem.Builderquantity(Consumer<WorkloadEstimateUsageQuantity.Builder> quantity)The estimated usage quantity for this item.WorkloadEstimateUsageItem.Builderquantity(WorkloadEstimateUsageQuantity quantity)The estimated usage quantity for this item.WorkloadEstimateUsageItem.BuilderserviceCode(String serviceCode)The Amazon Web Services service code associated with this usage item.WorkloadEstimateUsageItem.Builderstatus(String status)The current status of this usage item.WorkloadEstimateUsageItem.Builderstatus(WorkloadEstimateCostStatus status)The current status of this usage item.WorkloadEstimateUsageItem.BuilderusageAccountId(String usageAccountId)The Amazon Web Services account ID associated with this usage item.WorkloadEstimateUsageItem.BuilderusageType(String usageType)The type of usage for this 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
WorkloadEstimateUsageItem.Builder serviceCode(String serviceCode)
The Amazon Web Services service code associated with this usage item.
- Parameters:
serviceCode- The Amazon Web Services service code associated with this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
WorkloadEstimateUsageItem.Builder usageType(String usageType)
The type of usage for this item.
- Parameters:
usageType- The type of usage for this item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
WorkloadEstimateUsageItem.Builder operation(String operation)
The specific operation associated with this usage item.
- Parameters:
operation- The specific operation associated with this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
WorkloadEstimateUsageItem.Builder location(String location)
The location associated with this usage item.
- Parameters:
location- The location associated with this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
WorkloadEstimateUsageItem.Builder id(String id)
The unique identifier of this usage item.
- Parameters:
id- The unique identifier of this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageAccountId
WorkloadEstimateUsageItem.Builder usageAccountId(String usageAccountId)
The Amazon Web Services account ID associated with this usage item.
- Parameters:
usageAccountId- The Amazon Web Services account ID associated with this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
WorkloadEstimateUsageItem.Builder group(String group)
The group identifier for this usage item.
- Parameters:
group- The group identifier for this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
WorkloadEstimateUsageItem.Builder quantity(WorkloadEstimateUsageQuantity quantity)
The estimated usage quantity for this item.
- Parameters:
quantity- The estimated usage quantity for this item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
default WorkloadEstimateUsageItem.Builder quantity(Consumer<WorkloadEstimateUsageQuantity.Builder> quantity)
The estimated usage quantity for this item.
This is a convenience method that creates an instance of theWorkloadEstimateUsageQuantity.Builderavoiding the need to create one manually viaWorkloadEstimateUsageQuantity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquantity(WorkloadEstimateUsageQuantity).- Parameters:
quantity- a consumer that will call methods onWorkloadEstimateUsageQuantity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
quantity(WorkloadEstimateUsageQuantity)
-
cost
WorkloadEstimateUsageItem.Builder cost(Double cost)
The estimated cost for this usage item.
- Parameters:
cost- The estimated cost for this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
WorkloadEstimateUsageItem.Builder currency(String currency)
The currency of the estimated cost.
- Parameters:
currency- The currency of the estimated cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
currency
WorkloadEstimateUsageItem.Builder currency(CurrencyCode currency)
The currency of the estimated cost.
- Parameters:
currency- The currency of the estimated cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
status
WorkloadEstimateUsageItem.Builder status(String status)
The current status of this usage item.
- Parameters:
status- The current status of this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateCostStatus,WorkloadEstimateCostStatus
-
status
WorkloadEstimateUsageItem.Builder status(WorkloadEstimateCostStatus status)
The current status of this usage item.
- Parameters:
status- The current status of this usage item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateCostStatus,WorkloadEstimateCostStatus
-
historicalUsage
WorkloadEstimateUsageItem.Builder historicalUsage(HistoricalUsageEntity historicalUsage)
Historical usage data associated with this item, if available.
- Parameters:
historicalUsage- Historical usage data associated with this item, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalUsage
default WorkloadEstimateUsageItem.Builder historicalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)
Historical usage data associated with this item, 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)
-
-