Interface InvestmentSummary.Builder

  • Method Details

    • investmentSummaryId

      InvestmentSummary.Builder investmentSummaryId(String investmentSummaryId)

      The identifier of the investment summary. Pass this value to ListContractualInvestments to list the investments within the summary, and to CreateContractualInvestmentAttestation to attest an investment. This value is 1–36 characters.

      Parameters:
      investmentSummaryId - The identifier of the investment summary. Pass this value to ListContractualInvestments to list the investments within the summary, and to CreateContractualInvestmentAttestation to attest an investment. This value is 1–36 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • investmentName

      InvestmentSummary.Builder investmentName(String investmentName)

      The name of the investment summary, used to reference the investment against a term in the physical contract. This value is 1–400 characters.

      Parameters:
      investmentName - The name of the investment summary, used to reference the investment against a term in the physical contract. This value is 1–400 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • investmentType

      InvestmentSummary.Builder investmentType(String investmentType)

      The type of the investment summary. Valid values are MILESTONE_BASED and OUTCOME_BASED. OUTCOME_BASED investments can be attested to, upon completion of outcomes. MILESTONE_BASED are automatically triggered by Amazon Web Services, based on the time schedule in the contract.

      Parameters:
      investmentType - The type of the investment summary. Valid values are MILESTONE_BASED and OUTCOME_BASED. OUTCOME_BASED investments can be attested to, upon completion of outcomes. MILESTONE_BASED are automatically triggered by Amazon Web Services, based on the time schedule in the contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • investmentType

      InvestmentSummary.Builder investmentType(InvestmentType investmentType)

      The type of the investment summary. Valid values are MILESTONE_BASED and OUTCOME_BASED. OUTCOME_BASED investments can be attested to, upon completion of outcomes. MILESTONE_BASED are automatically triggered by Amazon Web Services, based on the time schedule in the contract.

      Parameters:
      investmentType - The type of the investment summary. Valid values are MILESTONE_BASED and OUTCOME_BASED. OUTCOME_BASED investments can be attested to, upon completion of outcomes. MILESTONE_BASED are automatically triggered by Amazon Web Services, based on the time schedule in the contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxAllowedInvestmentDisbursementValue

      InvestmentSummary.Builder maxAllowedInvestmentDisbursementValue(Amount maxAllowedInvestmentDisbursementValue)

      The maximum monetary value that can be disbursed against the investment summary, inclusive of all outcomes combined under the summary.

      Parameters:
      maxAllowedInvestmentDisbursementValue - The maximum monetary value that can be disbursed against the investment summary, inclusive of all outcomes combined under the summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxAllowedInvestmentDisbursementValue

      default InvestmentSummary.Builder maxAllowedInvestmentDisbursementValue(Consumer<Amount.Builder> maxAllowedInvestmentDisbursementValue)

      The maximum monetary value that can be disbursed against the investment summary, inclusive of all outcomes combined under the summary.

      This is a convenience method that creates an instance of the Amount.Builder avoiding the need to create one manually via Amount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to maxAllowedInvestmentDisbursementValue(Amount).

      Parameters:
      maxAllowedInvestmentDisbursementValue - a consumer that will call methods on Amount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: