Interface PriceIncrease.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PriceIncrease.Builder,,PriceIncrease> SdkBuilder<PriceIncrease.Builder,,PriceIncrease> SdkPojo
- Enclosing class:
PriceIncrease
@Mutable
@NotThreadSafe
public static interface PriceIncrease.Builder
extends SdkPojo, CopyableBuilder<PriceIncrease.Builder,PriceIncrease>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PriceIncrease.BuilderfixedPercentage(Consumer<FixedPercentage.Builder> fixedPercentage) A single fixed percentage applied uniformly at every renewal cycle.fixedPercentage(FixedPercentage fixedPercentage) A single fixed percentage applied uniformly at every renewal cycle.default PriceIncrease.BuilderpercentageRange(Consumer<PercentageRange.Builder> percentageRange) A percentage band with minimum, maximum, and default values that bound the price increase at each renewal cycle.percentageRange(PercentageRange percentageRange) A percentage band with minimum, maximum, and default values that bound the price increase at each renewal cycle.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
-
fixedPercentage
A single fixed percentage applied uniformly at every renewal cycle.
- Parameters:
fixedPercentage- A single fixed percentage applied uniformly at every renewal cycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPercentage
A single fixed percentage applied uniformly at every renewal cycle.
This is a convenience method that creates an instance of theFixedPercentage.Builderavoiding the need to create one manually viaFixedPercentage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofixedPercentage(FixedPercentage).- Parameters:
fixedPercentage- a consumer that will call methods onFixedPercentage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
percentageRange
A percentage band with minimum, maximum, and default values that bound the price increase at each renewal cycle.
- Parameters:
percentageRange- A percentage band with minimum, maximum, and default values that bound the price increase at each renewal cycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentageRange
A percentage band with minimum, maximum, and default values that bound the price increase at each renewal cycle.
This is a convenience method that creates an instance of thePercentageRange.Builderavoiding the need to create one manually viaPercentageRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topercentageRange(PercentageRange).- Parameters:
percentageRange- a consumer that will call methods onPercentageRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-