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 fixed price increase percentage that is applied at each renewal.fixedPercentage(FixedPercentage fixedPercentage) A fixed price increase percentage that is applied at each renewal.default PriceIncrease.BuilderpercentageRange(Consumer<PercentageRange.Builder> percentageRange) A range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.percentageRange(PercentageRange percentageRange) A range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.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 fixed price increase percentage that is applied at each renewal.
- Parameters:
fixedPercentage- A fixed price increase percentage that is applied at each renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPercentage
A fixed price increase percentage that is applied at each renewal.
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 range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.
- Parameters:
percentageRange- A range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentageRange
A range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.
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:
-