Interface BatchCreateWorkloadEstimateUsageEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateWorkloadEstimateUsageEntry.Builder,BatchCreateWorkloadEstimateUsageEntry>,SdkBuilder<BatchCreateWorkloadEstimateUsageEntry.Builder,BatchCreateWorkloadEstimateUsageEntry>,SdkPojo
- Enclosing class:
- BatchCreateWorkloadEstimateUsageEntry
public static interface BatchCreateWorkloadEstimateUsageEntry.Builder extends SdkPojo, CopyableBuilder<BatchCreateWorkloadEstimateUsageEntry.Builder,BatchCreateWorkloadEstimateUsageEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchCreateWorkloadEstimateUsageEntry.Builderamount(Double amount)The estimated usage amount.BatchCreateWorkloadEstimateUsageEntry.Buildergroup(String group)An optional group identifier for the usage estimate.default BatchCreateWorkloadEstimateUsageEntry.BuilderhistoricalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)Historical usage data associated with this estimate, if available.BatchCreateWorkloadEstimateUsageEntry.BuilderhistoricalUsage(HistoricalUsageEntity historicalUsage)Historical usage data associated with this estimate, if available.BatchCreateWorkloadEstimateUsageEntry.Builderkey(String key)A unique identifier for this entry in the batch operation.BatchCreateWorkloadEstimateUsageEntry.Builderoperation(String operation)The specific operation associated with this usage estimate.BatchCreateWorkloadEstimateUsageEntry.BuilderserviceCode(String serviceCode)The Amazon Web Services service code for this usage estimate.BatchCreateWorkloadEstimateUsageEntry.BuilderusageAccountId(String usageAccountId)The Amazon Web Services account ID associated with this usage estimate.BatchCreateWorkloadEstimateUsageEntry.BuilderusageType(String usageType)The type of usage being 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
BatchCreateWorkloadEstimateUsageEntry.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
BatchCreateWorkloadEstimateUsageEntry.Builder usageType(String usageType)
The type of usage being estimated.
- Parameters:
usageType- The type of usage being estimated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
BatchCreateWorkloadEstimateUsageEntry.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.
-
key
BatchCreateWorkloadEstimateUsageEntry.Builder key(String key)
A unique identifier for this entry in the batch operation.
- Parameters:
key- A unique identifier for this entry in the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
BatchCreateWorkloadEstimateUsageEntry.Builder group(String group)
An optional group identifier for the usage estimate.
- Parameters:
group- An optional group identifier for the usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageAccountId
BatchCreateWorkloadEstimateUsageEntry.Builder usageAccountId(String usageAccountId)
The Amazon Web Services account ID associated with this usage estimate.
- Parameters:
usageAccountId- The Amazon Web Services account ID associated with this usage estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
BatchCreateWorkloadEstimateUsageEntry.Builder amount(Double amount)
The estimated usage amount.
- Parameters:
amount- The estimated usage amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalUsage
BatchCreateWorkloadEstimateUsageEntry.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 BatchCreateWorkloadEstimateUsageEntry.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)
-
-