Interface AppTieredQuota.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppTieredQuota.Builder,,AppTieredQuota> SdkBuilder<AppTieredQuota.Builder,,AppTieredQuota> SdkPojo
- Enclosing class:
AppTieredQuota
-
Method Summary
Modifier and TypeMethodDescriptionincludedQuantity(Long includedQuantity) The free allowance included with the plan for this metric.maxQuantity(Long maxQuantity) Usage at which further entitlement checks for this metric are denied, in whole units per billing period, counting the included allowance.default AppTieredQuota.BuildertieredPrice(Consumer<TieredPrice.Builder> tieredPrice) The tiered price schedule applied to charged usage for this metric.tieredPrice(TieredPrice tieredPrice) The tiered price schedule applied to charged usage for this metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
includedQuantity
The free allowance included with the plan for this metric. May be 0, in which case the metric is tier-priced from the first charged unit.
- Parameters:
includedQuantity- The free allowance included with the plan for this metric. May be 0, in which case the metric is tier-priced from the first charged unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tieredPrice
The tiered price schedule applied to charged usage for this metric.
- Parameters:
tieredPrice- The tiered price schedule applied to charged usage for this metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tieredPrice
The tiered price schedule applied to charged usage for this metric.
This is a convenience method that creates an instance of theTieredPrice.Builderavoiding the need to create one manually viaTieredPrice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totieredPrice(TieredPrice).- Parameters:
tieredPrice- a consumer that will call methods onTieredPrice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxQuantity
Usage at which further entitlement checks for this metric are denied, in whole units per billing period, counting the included allowance. Must be at least includedQuantity (equal is a hard stop at the allowance) and is allowed only on a grant that charges past its allowance. Checked at entitlement time against usage already recorded; one allowed action's quantity is not clamped. Prepaid usage-pack units sit outside it. One cap per billing period. Absent means no cap.
- Parameters:
maxQuantity- Usage at which further entitlement checks for this metric are denied, in whole units per billing period, counting the included allowance. Must be at least includedQuantity (equal is a hard stop at the allowance) and is allowed only on a grant that charges past its allowance. Checked at entitlement time against usage already recorded; one allowed action's quantity is not clamped. Prepaid usage-pack units sit outside it. One cap per billing period. Absent means no cap.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-