Interface RenewalTerm.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RenewalTerm.Builder,,RenewalTerm> SdkBuilder<RenewalTerm.Builder,,RenewalTerm> SdkPojo
- Enclosing class:
RenewalTerm
-
Method Summary
Modifier and TypeMethodDescriptionadjustmentDeadline(String adjustmentDeadline) The duration before the agreement end date by which the renewal price is finalized, represented in ISO 8601 format (for example, P30D).The unique identifier of the term.lockoutPeriod(String lockoutPeriod) The duration before the agreement end date when the lockout window begins, in ISO 8601 format (for example, P30D).maxRenewals(Integer maxRenewals) The maximum number of renewals allowed on this offer.default RenewalTerm.BuilderpriceIncrease(Consumer<PriceIncrease.Builder> priceIncrease) The price increase applied at each renewal cycle.priceIncrease(PriceIncrease priceIncrease) The price increase applied at each renewal cycle.termTemplates(Collection<TermTemplate> termTemplates) Structural templates defining how specific terms are reshaped on each renewal cycle.termTemplates(Consumer<TermTemplate.Builder>... termTemplates) Structural templates defining how specific terms are reshaped on each renewal cycle.termTemplates(TermTemplate... termTemplates) Structural templates defining how specific terms are reshaped on each renewal cycle.The category of the term.The category of the term.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
-
id
The unique identifier of the term.
- Parameters:
id- The unique identifier of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxRenewals
The maximum number of renewals allowed on this offer. Absent means unlimited renewals.
- Parameters:
maxRenewals- The maximum number of renewals allowed on this offer. Absent means unlimited renewals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockoutPeriod
The duration before the agreement end date when the lockout window begins, in ISO 8601 format (for example, P30D). Absent means no lockout.
- Parameters:
lockoutPeriod- The duration before the agreement end date when the lockout window begins, in ISO 8601 format (for example, P30D). Absent means no lockout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustmentDeadline
The duration before the agreement end date by which the renewal price is finalized, represented in ISO 8601 format (for example, P30D). Only applicable with
PercentageRange.- Parameters:
adjustmentDeadline- The duration before the agreement end date by which the renewal price is finalized, represented in ISO 8601 format (for example, P30D). Only applicable withPercentageRange.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceIncrease
The price increase applied at each renewal cycle. Absent means identical pricing on renewal.
- Parameters:
priceIncrease- The price increase applied at each renewal cycle. Absent means identical pricing on renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceIncrease
The price increase applied at each renewal cycle. Absent means identical pricing on renewal.
This is a convenience method that creates an instance of thePriceIncrease.Builderavoiding the need to create one manually viaPriceIncrease.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topriceIncrease(PriceIncrease).- Parameters:
priceIncrease- a consumer that will call methods onPriceIncrease.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
termTemplates
Structural templates defining how specific terms are reshaped on each renewal cycle. Absent for upfront-only offers.
- Parameters:
termTemplates- Structural templates defining how specific terms are reshaped on each renewal cycle. Absent for upfront-only offers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termTemplates
Structural templates defining how specific terms are reshaped on each renewal cycle. Absent for upfront-only offers.
- Parameters:
termTemplates- Structural templates defining how specific terms are reshaped on each renewal cycle. Absent for upfront-only offers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termTemplates
Structural templates defining how specific terms are reshaped on each renewal cycle. Absent for upfront-only offers.
This is a convenience method that creates an instance of theTermTemplate.Builderavoiding the need to create one manually viaTermTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totermTemplates(List<TermTemplate>).- Parameters:
termTemplates- a consumer that will call methods onTermTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-