Interface AppQuota.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppQuota.Builder,,AppQuota> SdkBuilder<AppQuota.Builder,,AppQuota> SdkPojo
- Enclosing class:
AppQuota
-
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.overagePolicy(String overagePolicy) How usage beyond the included allowance is handled.overagePolicy(OveragePolicy overagePolicy) How usage beyond the included allowance is handled.default AppQuota.BuilderoveragePrice(Consumer<Price.Builder> overagePrice) The per-unit price charged for usage beyond the included allowance under a fixed overage policy.overagePrice(Price overagePrice) The per-unit price charged for usage beyond the included allowance under a fixed overage policy.default AppQuota.BuildertieredOverage(Consumer<TieredOverage.Builder> tieredOverage) The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.tieredOverage(TieredOverage tieredOverage) The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.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.
- Parameters:
includedQuantity- The free allowance included with the plan for this metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overagePolicy
How usage beyond the included allowance is handled.
- Parameters:
overagePolicy- How usage beyond the included allowance is handled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overagePolicy
How usage beyond the included allowance is handled.
- Parameters:
overagePolicy- How usage beyond the included allowance is handled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overagePrice
The per-unit price charged for usage beyond the included allowance under a fixed overage policy.
- Parameters:
overagePrice- The per-unit price charged for usage beyond the included allowance under a fixed overage policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overagePrice
The per-unit price charged for usage beyond the included allowance under a fixed overage policy.
This is a convenience method that creates an instance of thePrice.Builderavoiding the need to create one manually viaPrice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooveragePrice(Price).- Parameters:
overagePrice- a consumer that will call methods onPrice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tieredOverage
The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.
- Parameters:
tieredOverage- The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tieredOverage
The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.
This is a convenience method that creates an instance of theTieredOverage.Builderavoiding the need to create one manually viaTieredOverage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totieredOverage(TieredOverage).- Parameters:
tieredOverage- a consumer that will call methods onTieredOverage.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.
-