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.Builder
acceptor
(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.default AgreementViewSummary.Builder
proposalSummary
(Consumer<ProposalSummary.Builder> proposalSummary) A summary of the proposalproposalSummary
(ProposalSummary proposalSummary) A summary of the proposaldefault AgreementViewSummary.Builder
proposer
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.Builder
avoiding the need to create one manually viaAcceptor.builder()
.When the
Consumer
completes,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:
-
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.
-
agreementType
The type of agreement. Values are
PurchaseAgreement
orVendorInsightsAgreement
.- Parameters:
agreementType
- The type of agreement. Values arePurchaseAgreement
orVendorInsightsAgreement
.- 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
null
for pay-as-you-go agreements, which don’t have end dates.- Parameters:
endTime
- The date and time when the agreement ends. The field isnull
for 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.
-
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.Builder
avoiding the need to create one manually viaProposalSummary.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaProposer.builder()
.When the
Consumer
completes,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:
-
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.
-
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:
-