Interface BatchCreateWorkloadEstimateUsageItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchCreateWorkloadEstimateUsageItem.Builder,
,BatchCreateWorkloadEstimateUsageItem> SdkBuilder<BatchCreateWorkloadEstimateUsageItem.Builder,
,BatchCreateWorkloadEstimateUsageItem> SdkPojo
- Enclosing class:
BatchCreateWorkloadEstimateUsageItem
-
Method Summary
Modifier and TypeMethodDescriptionThe estimated cost associated with this usage.The currency of the estimated cost.currency
(CurrencyCode currency) The currency of the estimated cost.The group identifier for the created usage estimate.historicalUsage
(Consumer<HistoricalUsageEntity.Builder> historicalUsage) Historical usage data associated with this estimate, if available.historicalUsage
(HistoricalUsageEntity historicalUsage) Historical usage data associated with this estimate, if available.The unique identifier assigned to the created usage estimate.The key of the successfully created entry.The location associated with this usage estimate.The specific operation associated with this usage estimate.The estimated usage quantity.quantity
(WorkloadEstimateUsageQuantity quantity) The estimated usage quantity.serviceCode
(String serviceCode) The Amazon Web Services service code for this usage estimate.The current status of the created usage estimate.status
(WorkloadEstimateCostStatus status) The current status of the created usage estimate.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with the created usage estimate.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 Details
-
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
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
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaWorkloadEstimateUsageQuantity.builder()
.When the
Consumer
completes,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:
-
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
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:
-
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:
-
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:
-
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:
-
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.Builder
avoiding the need to create one manually viaHistoricalUsageEntity.builder()
.When the
Consumer
completes,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:
-
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.
-