Interface AgreementViewSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgreementViewSummary.Builder,AgreementViewSummary>,SdkBuilder<AgreementViewSummary.Builder,AgreementViewSummary>,SdkPojo
- Enclosing class:
- AgreementViewSummary
public static interface AgreementViewSummary.Builder extends SdkPojo, CopyableBuilder<AgreementViewSummary.Builder,AgreementViewSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgreementViewSummary.BuilderacceptanceTime(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.AgreementViewSummary.Builderacceptor(Acceptor acceptor)Details of the party accepting the agreement terms.AgreementViewSummary.BuilderagreementId(String agreementId)The unique identifier of the agreement.AgreementViewSummary.BuilderagreementType(String agreementType)The type of agreement.AgreementViewSummary.BuilderendTime(Instant endTime)The date and time when the agreement ends.default AgreementViewSummary.BuilderproposalSummary(Consumer<ProposalSummary.Builder> proposalSummary)A summary of the proposalAgreementViewSummary.BuilderproposalSummary(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.AgreementViewSummary.Builderproposer(Proposer proposer)Details of the party proposing the agreement terms, most commonly the seller forPurchaseAgreement.AgreementViewSummary.BuilderstartTime(Instant startTime)The date and time when the agreement starts.AgreementViewSummary.Builderstatus(String status)The current status of the agreement.AgreementViewSummary.Builderstatus(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 Detail
-
acceptanceTime
AgreementViewSummary.Builder acceptanceTime(Instant 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
AgreementViewSummary.Builder acceptor(Acceptor 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
default AgreementViewSummary.Builder acceptor(Consumer<Acceptor.Builder> 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:
acceptor(Acceptor)
-
agreementId
AgreementViewSummary.Builder agreementId(String 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
AgreementViewSummary.Builder agreementType(String agreementType)
The type of agreement. Values are
PurchaseAgreementorVendorInsightsAgreement.- Parameters:
agreementType- The type of agreement. Values arePurchaseAgreementorVendorInsightsAgreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
AgreementViewSummary.Builder endTime(Instant 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.
-
proposalSummary
AgreementViewSummary.Builder proposalSummary(ProposalSummary 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:
proposalSummary(ProposalSummary)
-
proposer
AgreementViewSummary.Builder proposer(Proposer 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
default AgreementViewSummary.Builder proposer(Consumer<Proposer.Builder> 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:
proposer(Proposer)
-
startTime
AgreementViewSummary.Builder startTime(Instant 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
AgreementViewSummary.Builder status(String 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:
AgreementStatus,AgreementStatus
-
status
AgreementViewSummary.Builder status(AgreementStatus 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:
AgreementStatus,AgreementStatus
-
-