Interface DescribeAgreementResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<DescribeAgreementResponse.Builder,,- DescribeAgreementResponse> - MarketplaceAgreementResponse.Builder,- SdkBuilder<DescribeAgreementResponse.Builder,,- DescribeAgreementResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- DescribeAgreementResponse
- 
Method SummaryModifier and TypeMethodDescriptionacceptanceTime(Instant acceptanceTime) The date and time the offer was accepted or the agreement was created.acceptor(Consumer<Acceptor.Builder> acceptor) The details of the party accepting the agreement terms.The 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.estimatedCharges(Consumer<EstimatedCharges.Builder> estimatedCharges) The estimated cost of the agreement.estimatedCharges(EstimatedCharges estimatedCharges) The estimated cost of the agreement.proposalSummary(Consumer<ProposalSummary.Builder> proposalSummary) A summary of the proposal received from the proposer.proposalSummary(ProposalSummary proposalSummary) A summary of the proposal received from the proposer.proposer(Consumer<Proposer.Builder> proposer) The details of the party proposing the agreement terms.The details of the party proposing the agreement terms.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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
acceptanceTimeThe date and time the offer was accepted or the agreement was created. AcceptanceTimeandStartTimecan differ for future dated agreements (FDAs).- Parameters:
- acceptanceTime- The date and time the offer was accepted or the agreement was created.- AcceptanceTimeand- StartTimecan differ for future dated agreements (FDAs).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
acceptorThe details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.- Parameters:
- acceptor- The details of the party accepting the agreement terms. This is commonly the buyer for- PurchaseAgreement.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
acceptorThe 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 on- Acceptor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
agreementIdThe 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.
 
- 
agreementTypeThe type of agreement. Values are PurchaseAgreementorVendorInsightsAgreement.- Parameters:
- agreementType- The type of agreement. Values are- PurchaseAgreementor- VendorInsightsAgreement.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
endTimeThe 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 is- nullfor 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.
 
- 
estimatedChargesThe estimated cost of the agreement. - Parameters:
- estimatedCharges- The estimated cost of the agreement.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
estimatedChargesdefault DescribeAgreementResponse.Builder estimatedCharges(Consumer<EstimatedCharges.Builder> estimatedCharges) The estimated cost of the agreement. This is a convenience method that creates an instance of theEstimatedCharges.Builderavoiding the need to create one manually viaEstimatedCharges.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedCharges(EstimatedCharges).- Parameters:
- estimatedCharges- a consumer that will call methods on- EstimatedCharges.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
proposalSummaryA summary of the proposal received from the proposer. - Parameters:
- proposalSummary- A summary of the proposal received from the proposer.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
proposalSummarydefault DescribeAgreementResponse.Builder proposalSummary(Consumer<ProposalSummary.Builder> proposalSummary) A summary of the proposal received from the proposer. 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 on- ProposalSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
proposerThe details of the party proposing the agreement terms. This is commonly the seller for PurchaseAgreement.- Parameters:
- proposer- The details of the party proposing the agreement terms. This is commonly the seller for- PurchaseAgreement.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
proposerThe details of the party proposing the agreement terms. This is 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 on- Proposer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
startTimeThe 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.
 
- 
statusThe current status of the agreement. Statuses include: - 
 ACTIVE– The terms of the agreement are active.
- 
 ARCHIVED– The agreement ended without a specified reason.
- 
 CANCELLED– The acceptor ended the agreement before the defined end date.
- 
 EXPIRED– The agreement ended on the defined end date.
- 
 RENEWED– The agreement was renewed into a new agreement (for example, an auto-renewal).
- 
 REPLACED– The agreement was replaced using an agreement replacement offer.
- 
 ROLLED_BACK(Only applicable to inactive agreement revisions) – The agreement revision has been rolled back because of an error. An earlier revision is now active.
- 
 SUPERCEDED(Only applicable to inactive agreement revisions) – The agreement revision is no longer active and another agreement revision is now active.
- 
 TERMINATED– The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).
 - Parameters:
- status- The current status of the agreement.- Statuses include: - 
        ACTIVE– The terms of the agreement are active.
- 
        ARCHIVED– The agreement ended without a specified reason.
- 
        CANCELLED– The acceptor ended the agreement before the defined end date.
- 
        EXPIRED– The agreement ended on the defined end date.
- 
        RENEWED– The agreement was renewed into a new agreement (for example, an auto-renewal).
- 
        REPLACED– The agreement was replaced using an agreement replacement offer.
- 
        ROLLED_BACK(Only applicable to inactive agreement revisions) – The agreement revision has been rolled back because of an error. An earlier revision is now active.
- 
        SUPERCEDED(Only applicable to inactive agreement revisions) – The agreement revision is no longer active and another agreement revision is now active.
- 
        TERMINATED– The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
statusThe current status of the agreement. Statuses include: - 
 ACTIVE– The terms of the agreement are active.
- 
 ARCHIVED– The agreement ended without a specified reason.
- 
 CANCELLED– The acceptor ended the agreement before the defined end date.
- 
 EXPIRED– The agreement ended on the defined end date.
- 
 RENEWED– The agreement was renewed into a new agreement (for example, an auto-renewal).
- 
 REPLACED– The agreement was replaced using an agreement replacement offer.
- 
 ROLLED_BACK(Only applicable to inactive agreement revisions) – The agreement revision has been rolled back because of an error. An earlier revision is now active.
- 
 SUPERCEDED(Only applicable to inactive agreement revisions) – The agreement revision is no longer active and another agreement revision is now active.
- 
 TERMINATED– The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).
 - Parameters:
- status- The current status of the agreement.- Statuses include: - 
        ACTIVE– The terms of the agreement are active.
- 
        ARCHIVED– The agreement ended without a specified reason.
- 
        CANCELLED– The acceptor ended the agreement before the defined end date.
- 
        EXPIRED– The agreement ended on the defined end date.
- 
        RENEWED– The agreement was renewed into a new agreement (for example, an auto-renewal).
- 
        REPLACED– The agreement was replaced using an agreement replacement offer.
- 
        ROLLED_BACK(Only applicable to inactive agreement revisions) – The agreement revision has been rolled back because of an error. An earlier revision is now active.
- 
        SUPERCEDED(Only applicable to inactive agreement revisions) – The agreement revision is no longer active and another agreement revision is now active.
- 
        TERMINATED– The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
 
-