Interface EndTimeBehavior.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EndTimeBehavior.Builder,,EndTimeBehavior> SdkBuilder<EndTimeBehavior.Builder,,EndTimeBehavior> SdkPojo
- Enclosing class:
EndTimeBehavior
-
Method Summary
Modifier and TypeMethodDescriptionreasonCode(String reasonCode) The reason why the agreement doesn't renew at its end date.reasonCode(EndTimeBehaviorReasonCode reasonCode) The reason why the agreement doesn't renew at its end date.default EndTimeBehavior.BuilderrenewalSummary(Consumer<RenewalSummary.Builder> renewalSummary) The details of the renewal that applies at the end date of the agreement.renewalSummary(RenewalSummary renewalSummary) The details of the renewal that applies at the end date of the agreement.The behavior of the agreement when it reaches its end date.type(EndTimeBehaviorType type) The behavior of the agreement when it reaches its end date.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
The behavior of the agreement when it reaches its end date.
Types include:
-
RENEW– A new agreement is created from the accepted terms of this agreement. -
REPLACE– A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product. -
EXPIRE– The agreement ends and isn't renewed or replaced.
- Parameters:
type- The behavior of the agreement when it reaches its end date.Types include:
-
RENEW– A new agreement is created from the accepted terms of this agreement. -
REPLACE– A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product. -
EXPIRE– The agreement ends and isn't renewed or replaced.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The behavior of the agreement when it reaches its end date.
Types include:
-
RENEW– A new agreement is created from the accepted terms of this agreement. -
REPLACE– A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product. -
EXPIRE– The agreement ends and isn't renewed or replaced.
- Parameters:
type- The behavior of the agreement when it reaches its end date.Types include:
-
RENEW– A new agreement is created from the accepted terms of this agreement. -
REPLACE– A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product. -
EXPIRE– The agreement ends and isn't renewed or replaced.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
reasonCode
The reason why the agreement doesn't renew at its end date. The field is
nullwhen the agreement renews.More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and
PROPOSER_RENEW_OPTED_OUTtakes precedence over all others.The
EnableAutoRenewfield reflects only the acceptor's preference, and doesn't reflect the other reasons an agreement might not renew.Reason codes include:
-
PROPOSER_RENEW_OPTED_OUT– The proposer opted out of renewing the agreement. -
ACCEPTOR_RENEW_OPTED_OUT– The acceptor opted out of renewing the agreement. -
NO_RENEWAL_TERM– The accepted terms of the agreement don't include a renewal term, which is required for an agreement to renew. -
RENEWAL_LIMIT_EXHAUSTED– The agreement reached the maximum number of renewals allowed by its renewal term.
- Parameters:
reasonCode- The reason why the agreement doesn't renew at its end date. The field isnullwhen the agreement renews.More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and
PROPOSER_RENEW_OPTED_OUTtakes precedence over all others.The
EnableAutoRenewfield reflects only the acceptor's preference, and doesn't reflect the other reasons an agreement might not renew.Reason codes include:
-
PROPOSER_RENEW_OPTED_OUT– The proposer opted out of renewing the agreement. -
ACCEPTOR_RENEW_OPTED_OUT– The acceptor opted out of renewing the agreement. -
NO_RENEWAL_TERM– The accepted terms of the agreement don't include a renewal term, which is required for an agreement to renew. -
RENEWAL_LIMIT_EXHAUSTED– The agreement reached the maximum number of renewals allowed by its renewal term.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
reasonCode
The reason why the agreement doesn't renew at its end date. The field is
nullwhen the agreement renews.More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and
PROPOSER_RENEW_OPTED_OUTtakes precedence over all others.The
EnableAutoRenewfield reflects only the acceptor's preference, and doesn't reflect the other reasons an agreement might not renew.Reason codes include:
-
PROPOSER_RENEW_OPTED_OUT– The proposer opted out of renewing the agreement. -
ACCEPTOR_RENEW_OPTED_OUT– The acceptor opted out of renewing the agreement. -
NO_RENEWAL_TERM– The accepted terms of the agreement don't include a renewal term, which is required for an agreement to renew. -
RENEWAL_LIMIT_EXHAUSTED– The agreement reached the maximum number of renewals allowed by its renewal term.
- Parameters:
reasonCode- The reason why the agreement doesn't renew at its end date. The field isnullwhen the agreement renews.More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and
PROPOSER_RENEW_OPTED_OUTtakes precedence over all others.The
EnableAutoRenewfield reflects only the acceptor's preference, and doesn't reflect the other reasons an agreement might not renew.Reason codes include:
-
PROPOSER_RENEW_OPTED_OUT– The proposer opted out of renewing the agreement. -
ACCEPTOR_RENEW_OPTED_OUT– The acceptor opted out of renewing the agreement. -
NO_RENEWAL_TERM– The accepted terms of the agreement don't include a renewal term, which is required for an agreement to renew. -
RENEWAL_LIMIT_EXHAUSTED– The agreement reached the maximum number of renewals allowed by its renewal term.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
renewalSummary
The details of the renewal that applies at the end date of the agreement. This field is present when
TypeisRENEW. It is also present whenReasonCodeisPROPOSER_RENEW_OPTED_OUTorACCEPTOR_RENEW_OPTED_OUT. In those cases, it identifies the offer that the agreement would otherwise have renewed from. The field isnullin all other cases.- Parameters:
renewalSummary- The details of the renewal that applies at the end date of the agreement. This field is present whenTypeisRENEW. It is also present whenReasonCodeisPROPOSER_RENEW_OPTED_OUTorACCEPTOR_RENEW_OPTED_OUT. In those cases, it identifies the offer that the agreement would otherwise have renewed from. The field isnullin all other cases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renewalSummary
The details of the renewal that applies at the end date of the agreement. This field is present when
This is a convenience method that creates an instance of theTypeisRENEW. It is also present whenReasonCodeisPROPOSER_RENEW_OPTED_OUTorACCEPTOR_RENEW_OPTED_OUT. In those cases, it identifies the offer that the agreement would otherwise have renewed from. The field isnullin all other cases.RenewalSummary.Builderavoiding the need to create one manually viaRenewalSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torenewalSummary(RenewalSummary).- Parameters:
renewalSummary- a consumer that will call methods onRenewalSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-