Interface AppQuotaConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppQuotaConfig.Builder,,AppQuotaConfig> SdkBuilder<AppQuotaConfig.Builder,,AppQuotaConfig> SdkPojo
- Enclosing class:
AppQuotaConfig
@Mutable
@NotThreadSafe
public static interface AppQuotaConfig.Builder
extends SdkPojo, CopyableBuilder<AppQuotaConfig.Builder,AppQuotaConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AppQuotaConfig.Builderflat(Consumer<AppQuota.Builder> flat) A flat grant: free allowance plus an optional overage policy.A flat grant: free allowance plus an optional overage policy.default AppQuotaConfig.Buildertiered(Consumer<AppTieredQuota.Builder> tiered) A tiered-priced grant: free allowance plus a tier-ladder price schedule.tiered(AppTieredQuota tiered) A tiered-priced grant: free allowance plus a tier-ladder price schedule.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
-
flat
A flat grant: free allowance plus an optional overage policy.
- Parameters:
flat- A flat grant: free allowance plus an optional overage policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flat
A flat grant: free allowance plus an optional overage policy.
This is a convenience method that creates an instance of theAppQuota.Builderavoiding the need to create one manually viaAppQuota.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflat(AppQuota).- Parameters:
flat- a consumer that will call methods onAppQuota.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tiered
A tiered-priced grant: free allowance plus a tier-ladder price schedule.
- Parameters:
tiered- A tiered-priced grant: free allowance plus a tier-ladder price schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tiered
A tiered-priced grant: free allowance plus a tier-ladder price schedule.
This is a convenience method that creates an instance of theAppTieredQuota.Builderavoiding the need to create one manually viaAppTieredQuota.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totiered(AppTieredQuota).- Parameters:
tiered- a consumer that will call methods onAppTieredQuota.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-