Interface AgreementViewSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgreementViewSummary.Builder,,AgreementViewSummary> SdkBuilder<AgreementViewSummary.Builder,,AgreementViewSummary> SdkPojo
- Enclosing class:
AgreementViewSummary
-
Method Summary
Modifier and TypeMethodDescriptionacceptanceTime(Instant acceptanceTime) The date and time that the agreement was accepted.default AgreementViewSummary.Builderacceptor(Consumer<Acceptor.Builder> acceptor) Details of the party accepting the agreement terms.Details of the party accepting the agreement terms.agreementId(String agreementId) The unique identifier of the agreement.agreementType(String agreementType) The type of agreement.The date and time when the agreement ends.endTimeBehaviorReasonCode(String endTimeBehaviorReasonCode) The reason why the agreement doesn't renew at its end date.endTimeBehaviorReasonCode(EndTimeBehaviorReasonCode endTimeBehaviorReasonCode) The reason why the agreement doesn't renew at its end date.endTimeBehaviorType(String endTimeBehaviorType) The behavior of the agreement when it reaches its end date.endTimeBehaviorType(EndTimeBehaviorType endTimeBehaviorType) The behavior of the agreement when it reaches its end date.entitlements(Collection<Entitlement> entitlements) A list of entitlements associated with the agreement.entitlements(Consumer<Entitlement.Builder>... entitlements) A list of entitlements associated with the agreement.entitlements(Entitlement... entitlements) A list of entitlements associated with the agreement.initialAgreementId(String initialAgreementId) The unique identifier of the very first agreement in a chain of related agreements, such as renewals or replacements.lastUpdateTime(Instant lastUpdateTime) The date and time when the agreement was last updated.default AgreementViewSummary.BuilderproposalSummary(Consumer<ProposalSummary.Builder> proposalSummary) A summary of the proposalproposalSummary(ProposalSummary proposalSummary) A summary of the proposaldefault AgreementViewSummary.Builderproposer(Consumer<Proposer.Builder> proposer) Details of the party proposing the agreement terms, most commonly the seller forPurchaseAgreement.Details of the party proposing the agreement terms, most commonly the seller forPurchaseAgreement.The date and time when the agreement starts.The current status of the agreement.status(AgreementStatus status) The current status 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
-
agreementId
The unique identifier of the agreement.
- Parameters:
agreementId- The unique identifier of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptanceTime
The date and time that the agreement was accepted.
- Parameters:
acceptanceTime- The date and time that the agreement was accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The date and time when the agreement starts.
- Parameters:
startTime- The date and time when the agreement starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time when the agreement ends. The field is
nullfor pay-as-you-go agreements, which don’t have end dates.- Parameters:
endTime- The date and time when the agreement ends. The field isnullfor pay-as-you-go agreements, which don’t have end dates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The date and time when the agreement was last updated. An agreement is updated when any of its attributes or accepted terms change. Amendments, renewals, and a party changing whether the agreement renews are all examples.
Use the
BeforeLastUpdateTimeandAfterLastUpdateTimefilters to search on this value, andLastUpdateTimeas theSortByvalue to sort by it. Sorting byLastUpdateTimeis supported only whenPartyTypeisProposer.- Parameters:
lastUpdateTime- The date and time when the agreement was last updated. An agreement is updated when any of its attributes or accepted terms change. Amendments, renewals, and a party changing whether the agreement renews are all examples.Use the
BeforeLastUpdateTimeandAfterLastUpdateTimefilters to search on this value, andLastUpdateTimeas theSortByvalue to sort by it. Sorting byLastUpdateTimeis supported only whenPartyTypeisProposer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementType
The type of agreement.
- Parameters:
agreementType- The type of agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptor
Details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.- Parameters:
acceptor- Details of the party accepting the agreement terms. This is commonly the buyer forPurchaseAgreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptor
Details of the party accepting the agreement terms. This is commonly the buyer for
This is a convenience method that creates an instance of thePurchaseAgreement.Acceptor.Builderavoiding the need to create one manually viaAcceptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toacceptor(Acceptor).- Parameters:
acceptor- a consumer that will call methods onAcceptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
proposer
Details of the party proposing the agreement terms, most commonly the seller for
PurchaseAgreement.- Parameters:
proposer- Details of the party proposing the agreement terms, most commonly the seller forPurchaseAgreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposer
Details of the party proposing the agreement terms, most commonly the seller for
This is a convenience method that creates an instance of thePurchaseAgreement.Proposer.Builderavoiding the need to create one manually viaProposer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproposer(Proposer).- Parameters:
proposer- a consumer that will call methods onProposer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
proposalSummary
A summary of the proposal
- Parameters:
proposalSummary- A summary of the proposal- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposalSummary
default AgreementViewSummary.Builder proposalSummary(Consumer<ProposalSummary.Builder> proposalSummary) A summary of the proposal
This is a convenience method that creates an instance of theProposalSummary.Builderavoiding the need to create one manually viaProposalSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproposalSummary(ProposalSummary).- Parameters:
proposalSummary- a consumer that will call methods onProposalSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the agreement.
- Parameters:
status- The current status of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the agreement.
- Parameters:
status- The current status of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlements
A list of entitlements associated with the agreement.
- Parameters:
entitlements- A list of entitlements associated with the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
A list of entitlements associated with the agreement.
- Parameters:
entitlements- A list of entitlements associated with the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
A list of entitlements associated with the agreement.
This is a convenience method that creates an instance of theEntitlement.Builderavoiding the need to create one manually viaEntitlement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentitlements(List<Entitlement>).- Parameters:
entitlements- a consumer that will call methods onEntitlement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initialAgreementId
The unique identifier of the very first agreement in a chain of related agreements, such as renewals or replacements. It stays the same across all agreements in that chain, which lets you trace an agreement back to the original. You can also use it as the
InitialAgreementIdfilter value to return every agreement in the same chain.- Parameters:
initialAgreementId- The unique identifier of the very first agreement in a chain of related agreements, such as renewals or replacements. It stays the same across all agreements in that chain, which lets you trace an agreement back to the original. You can also use it as theInitialAgreementIdfilter value to return every agreement in the same chain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimeBehaviorType
The behavior of the agreement when it reaches its end date. The field is
nullfor agreements that have no end date, because those agreements never reach an end time.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:
endTimeBehaviorType- The behavior of the agreement when it reaches its end date. The field isnullfor agreements that have no end date, because those agreements never reach an end time.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:
-
-
endTimeBehaviorType
The behavior of the agreement when it reaches its end date. The field is
nullfor agreements that have no end date, because those agreements never reach an end time.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:
endTimeBehaviorType- The behavior of the agreement when it reaches its end date. The field isnullfor agreements that have no end date, because those agreements never reach an end time.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:
-
-
endTimeBehaviorReasonCode
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:
endTimeBehaviorReasonCode- 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:
-
-
endTimeBehaviorReasonCode
AgreementViewSummary.Builder endTimeBehaviorReasonCode(EndTimeBehaviorReasonCode endTimeBehaviorReasonCode) 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:
endTimeBehaviorReasonCode- 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:
-
-