Interface DescribeAgreementResponse.Builder

    • Method Detail

      • acceptanceTime

        DescribeAgreementResponse.Builder acceptanceTime​(Instant acceptanceTime)

        The date and time the offer was accepted or the agreement was created.

        AcceptanceTime and StartTime can differ for future dated agreements (FDAs).

        Parameters:
        acceptanceTime - The date and time the offer was accepted or the agreement was created.

        AcceptanceTime and StartTime can differ for future dated agreements (FDAs).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • acceptor

        DescribeAgreementResponse.Builder acceptor​(Acceptor acceptor)

        The 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.
      • agreementId

        DescribeAgreementResponse.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

        DescribeAgreementResponse.Builder agreementType​(String agreementType)

        The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.

        Parameters:
        agreementType - The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        DescribeAgreementResponse.Builder endTime​(Instant 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 is null 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.
      • estimatedCharges

        DescribeAgreementResponse.Builder estimatedCharges​(EstimatedCharges estimatedCharges)

        The 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.
      • proposalSummary

        DescribeAgreementResponse.Builder proposalSummary​(ProposalSummary proposalSummary)

        A 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.
      • proposer

        DescribeAgreementResponse.Builder proposer​(Proposer proposer)

        The 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.
      • startTime

        DescribeAgreementResponse.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

        DescribeAgreementResponse.Builder status​(String 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).

        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:
        AgreementStatus, AgreementStatus
      • status

        DescribeAgreementResponse.Builder status​(AgreementStatus 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).

        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:
        AgreementStatus, AgreementStatus