Interface BatchCreateWorkloadEstimateUsageItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateWorkloadEstimateUsageItem.Builder,BatchCreateWorkloadEstimateUsageItem>,SdkBuilder<BatchCreateWorkloadEstimateUsageItem.Builder,BatchCreateWorkloadEstimateUsageItem>,SdkPojo
- Enclosing class:
- BatchCreateWorkloadEstimateUsageItem
public static interface BatchCreateWorkloadEstimateUsageItem.Builder extends SdkPojo, CopyableBuilder<BatchCreateWorkloadEstimateUsageItem.Builder,BatchCreateWorkloadEstimateUsageItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchCreateWorkloadEstimateUsageItem.Buildercost(Double cost)The estimated cost associated with this usage.BatchCreateWorkloadEstimateUsageItem.Buildercurrency(String currency)The currency of the estimated cost.BatchCreateWorkloadEstimateUsageItem.Buildercurrency(CurrencyCode currency)The currency of the estimated cost.BatchCreateWorkloadEstimateUsageItem.Buildergroup(String group)The group identifier for the created usage estimate.default BatchCreateWorkloadEstimateUsageItem.BuilderhistoricalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)Historical usage data associated with this estimate, if available.BatchCreateWorkloadEstimateUsageItem.BuilderhistoricalUsage(HistoricalUsageEntity historicalUsage)Historical usage data associated with this estimate, if available.BatchCreateWorkloadEstimateUsageItem.Builderid(String id)The unique identifier assigned to the created usage estimate.BatchCreateWorkloadEstimateUsageItem.Builderkey(String key)The key of the successfully created entry.BatchCreateWorkloadEstimateUsageItem.Builderlocation(String location)The location associated with this usage estimate.BatchCreateWorkloadEstimateUsageItem.Builderoperation(String operation)The specific operation associated with this usage estimate.default BatchCreateWorkloadEstimateUsageItem.Builderquantity(Consumer<WorkloadEstimateUsageQuantity.Builder> quantity)The estimated usage quantity.BatchCreateWorkloadEstimateUsageItem.Builderquantity(WorkloadEstimateUsageQuantity quantity)The estimated usage quantity.BatchCreateWorkloadEstimateUsageItem.BuilderserviceCode(String serviceCode)The Amazon Web Services service code for this usage estimate.BatchCreateWorkloadEstimateUsageItem.Builderstatus(String status)The current status of the created usage estimate.BatchCreateWorkloadEstimateUsageItem.Builderstatus(WorkloadEstimateCostStatus status)The current status of the created usage estimate.BatchCreateWorkloadEstimateUsageItem.BuilderusageAccountId(String usageAccountId)The Amazon Web Services account ID associated with the created usage estimate.BatchCreateWorkloadEstimateUsageItem.BuilderusageType(String usageType)The type of usage that was estimated.-
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
BatchCreateWorkloadEstimateUsageItem.Builder serviceCode(String serviceCode)
The Amazon Web Services service code for this usage estimate.
- Parameters:
serviceCode- The Amazon Web Services service code for this usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
BatchCreateWorkloadEstimateUsageItem.Builder usageType(String usageType)
The type of usage that was estimated.
- Parameters:
usageType- The type of usage that was estimated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
BatchCreateWorkloadEstimateUsageItem.Builder operation(String operation)
The specific operation associated with this usage estimate.
- Parameters:
operation- The specific operation associated with this usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
BatchCreateWorkloadEstimateUsageItem.Builder location(String location)
The location associated with this usage estimate.
- Parameters:
location- The location associated with this usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
BatchCreateWorkloadEstimateUsageItem.Builder id(String id)
The unique identifier assigned to the created usage estimate.
- Parameters:
id- The unique identifier assigned to the created usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageAccountId
BatchCreateWorkloadEstimateUsageItem.Builder usageAccountId(String usageAccountId)
The Amazon Web Services account ID associated with the created usage estimate.
- Parameters:
usageAccountId- The Amazon Web Services account ID associated with the created usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
BatchCreateWorkloadEstimateUsageItem.Builder group(String group)
The group identifier for the created usage estimate.
- Parameters:
group- The group identifier for the created usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
BatchCreateWorkloadEstimateUsageItem.Builder quantity(WorkloadEstimateUsageQuantity quantity)
The estimated usage quantity.
- Parameters:
quantity- The estimated usage quantity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
default BatchCreateWorkloadEstimateUsageItem.Builder quantity(Consumer<WorkloadEstimateUsageQuantity.Builder> quantity)
The estimated usage quantity.
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
BatchCreateWorkloadEstimateUsageItem.Builder cost(Double cost)
The estimated cost associated with this usage.
- Parameters:
cost- The estimated cost associated with this usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
BatchCreateWorkloadEstimateUsageItem.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
BatchCreateWorkloadEstimateUsageItem.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
BatchCreateWorkloadEstimateUsageItem.Builder status(String status)
The current status of the created usage estimate.
- Parameters:
status- The current status of the created usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateCostStatus,WorkloadEstimateCostStatus
-
status
BatchCreateWorkloadEstimateUsageItem.Builder status(WorkloadEstimateCostStatus status)
The current status of the created usage estimate.
- Parameters:
status- The current status of the created usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateCostStatus,WorkloadEstimateCostStatus
-
historicalUsage
BatchCreateWorkloadEstimateUsageItem.Builder historicalUsage(HistoricalUsageEntity historicalUsage)
Historical usage data associated with this estimate, if available.
- Parameters:
historicalUsage- Historical usage data associated with this estimate, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalUsage
default BatchCreateWorkloadEstimateUsageItem.Builder historicalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)
Historical usage data associated with this estimate, 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
BatchCreateWorkloadEstimateUsageItem.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.
-
-