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 date by which the proposer must finalize the price increase for the next renewal, measured back from the end date of the agreement.default RenewalTerm.Builderconfiguration(Consumer<RenewalTermConfiguration.Builder> configuration) Additional parameters specified by the acceptor while accepting the term.configuration(RenewalTermConfiguration configuration) Additional parameters specified by the acceptor while accepting the term.The unique identifier for the term.lockoutPeriod(String lockoutPeriod) The renewal decision deadline, measured back from the end date of the agreement.maxRenewals(Integer maxRenewals) The maximum number of times the agreement can be renewed.default RenewalTerm.BuilderpriceIncrease(Consumer<PriceIncrease.Builder> priceIncrease) The price increase that is applied each time the agreement renews.priceIncrease(PriceIncrease priceIncrease) The price increase that is applied each time the agreement renews.termTemplates(Collection<TermTemplate> termTemplates) Defines how specific terms change each time the agreement renews.termTemplates(Consumer<TermTemplate.Builder>... termTemplates) Defines how specific terms change each time the agreement renews.termTemplates(TermTemplate... termTemplates) Defines how specific terms change each time the agreement renews.Category of the term being updated.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
-
type
Category of the term being updated.
- Parameters:
type- Category of the term being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the term.
- Parameters:
id- The unique identifier for the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Additional parameters specified by the acceptor while accepting the term.
- Parameters:
configuration- Additional parameters specified by the acceptor while accepting the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Additional parameters specified by the acceptor while accepting the term.
This is a convenience method that creates an instance of theRenewalTermConfiguration.Builderavoiding the need to create one manually viaRenewalTermConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RenewalTermConfiguration).- Parameters:
configuration- a consumer that will call methods onRenewalTermConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lockoutPeriod
The renewal decision deadline, measured back from the end date of the agreement. This is the last day either party can opt in to or opt out of the renewal. The duration is represented in the ISO 8601 format in whole days (for example,
P30Dfor 30 days orP60Dfor 60 days).The field is
nullwhen no renewal decision deadline is set. In that case, either party can change the auto-renewal decision up to the end date of the agreement.- Parameters:
lockoutPeriod- The renewal decision deadline, measured back from the end date of the agreement. This is the last day either party can opt in to or opt out of the renewal. The duration is represented in the ISO 8601 format in whole days (for example,P30Dfor 30 days orP60Dfor 60 days).The field is
nullwhen no renewal decision deadline is set. In that case, either party can change the auto-renewal decision up to the end date of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRenewals
The maximum number of times the agreement can be renewed. The field is
nullwhen the number of renewals is unlimited.After the agreement reaches this limit, it expires on its end date instead of renewing.
- Parameters:
maxRenewals- The maximum number of times the agreement can be renewed. The field isnullwhen the number of renewals is unlimited.After the agreement reaches this limit, it expires on its end date instead of renewing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adjustmentDeadline
The date by which the proposer must finalize the price increase for the next renewal, measured back from the end date of the agreement. The duration is represented in the ISO 8601 format in whole days (for example,
P30Dfor 30 days orP60Dfor 60 days).This field applies only when
PriceIncreaseis aPercentageRange. The field isnullwhenPriceIncreaseis aFixedPercentage, because the price increase is already fixed and there is nothing for the proposer to finalize. If the proposer doesn't finalize a value by the adjustment deadline, theDefaultValueof the range applies.AdjustmentDeadlinemust be greater thanLockoutPeriod.- Parameters:
adjustmentDeadline- The date by which the proposer must finalize the price increase for the next renewal, measured back from the end date of the agreement. The duration is represented in the ISO 8601 format in whole days (for example,P30Dfor 30 days orP60Dfor 60 days).This field applies only when
PriceIncreaseis aPercentageRange. The field isnullwhenPriceIncreaseis aFixedPercentage, because the price increase is already fixed and there is nothing for the proposer to finalize. If the proposer doesn't finalize a value by the adjustment deadline, theDefaultValueof the range applies.AdjustmentDeadlinemust be greater thanLockoutPeriod.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceIncrease
The price increase that is applied each time the agreement renews. The field is
nullwhen the price doesn't change at renewal.- Parameters:
priceIncrease- The price increase that is applied each time the agreement renews. The field isnullwhen the price doesn't change at renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceIncrease
The price increase that is applied each time the agreement renews. The field is
This is a convenience method that creates an instance of thenullwhen the price doesn't change at renewal.PriceIncrease.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
Defines how specific terms change each time the agreement renews. The field is
nullwhen no terms change at renewal.- Parameters:
termTemplates- Defines how specific terms change each time the agreement renews. The field isnullwhen no terms change at renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termTemplates
Defines how specific terms change each time the agreement renews. The field is
nullwhen no terms change at renewal.- Parameters:
termTemplates- Defines how specific terms change each time the agreement renews. The field isnullwhen no terms change at renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termTemplates
Defines how specific terms change each time the agreement renews. The field is
This is a convenience method that creates an instance of thenullwhen no terms change at renewal.TermTemplate.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:
-