Interface RecommendedQuota.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendedQuota.Builder,,RecommendedQuota> SdkBuilder<RecommendedQuota.Builder,,RecommendedQuota> SdkPojo
- Enclosing class:
RecommendedQuota
@Mutable
@NotThreadSafe
public static interface RecommendedQuota.Builder
extends SdkPojo, CopyableBuilder<RecommendedQuota.Builder,RecommendedQuota>
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) Sets the value of the ActionName property for this object.includedQuantity(Long includedQuantity) The number of units included.overagePolicy(String overagePolicy) What happens to usage past the included units.overagePolicy(OveragePolicy overagePolicy) What happens to usage past the included units.default RecommendedQuota.BuilderoveragePrice(Consumer<Price.Builder> overagePrice) Price per unit past the included quantity.overagePrice(Price overagePrice) Price per unit past the included quantity.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
-
actionName
Sets the value of the ActionName property for this object.- Parameters:
actionName- The new value for the ActionName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedQuantity
The number of units included.
- Parameters:
includedQuantity- The number of units included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overagePolicy
What happens to usage past the included units.
- Parameters:
overagePolicy- What happens to usage past the included units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overagePolicy
What happens to usage past the included units.
- Parameters:
overagePolicy- What happens to usage past the included units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overagePrice
Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.
- Parameters:
overagePrice- Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overagePrice
Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.
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:
-