Interface InvestmentSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvestmentSummary.Builder,,InvestmentSummary> SdkBuilder<InvestmentSummary.Builder,,InvestmentSummary> SdkPojo
- Enclosing class:
InvestmentSummary
-
Method Summary
Modifier and TypeMethodDescriptioninvestmentName(String investmentName) The name of the investment summary, used to reference the investment against a term in the physical contract.investmentSummaryId(String investmentSummaryId) The identifier of the investment summary.investmentType(String investmentType) The type of the investment summary.investmentType(InvestmentType investmentType) The type of the investment summary.default InvestmentSummary.BuildermaxAllowedInvestmentDisbursementValue(Consumer<Amount.Builder> maxAllowedInvestmentDisbursementValue) The maximum monetary value that can be disbursed against the investment summary, inclusive of all outcomes combined under the summary.maxAllowedInvestmentDisbursementValue(Amount maxAllowedInvestmentDisbursementValue) The maximum monetary value that can be disbursed against the investment summary, inclusive of all outcomes combined under the summary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
investmentSummaryId
The identifier of the investment summary. Pass this value to
ListContractualInvestmentsto list the investments within the summary, and toCreateContractualInvestmentAttestationto attest an investment. This value is 1–36 characters.- Parameters:
investmentSummaryId- The identifier of the investment summary. Pass this value toListContractualInvestmentsto list the investments within the summary, and toCreateContractualInvestmentAttestationto 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
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
The type of the investment summary. Valid values are
MILESTONE_BASEDandOUTCOME_BASED.OUTCOME_BASEDinvestments can be attested to, upon completion of outcomes.MILESTONE_BASEDare automatically triggered by Amazon Web Services, based on the time schedule in the contract.- Parameters:
investmentType- The type of the investment summary. Valid values areMILESTONE_BASEDandOUTCOME_BASED.OUTCOME_BASEDinvestments can be attested to, upon completion of outcomes.MILESTONE_BASEDare 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
The type of the investment summary. Valid values are
MILESTONE_BASEDandOUTCOME_BASED.OUTCOME_BASEDinvestments can be attested to, upon completion of outcomes.MILESTONE_BASEDare automatically triggered by Amazon Web Services, based on the time schedule in the contract.- Parameters:
investmentType- The type of the investment summary. Valid values areMILESTONE_BASEDandOUTCOME_BASED.OUTCOME_BASEDinvestments can be attested to, upon completion of outcomes.MILESTONE_BASEDare 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 theAmount.Builderavoiding the need to create one manually viaAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaxAllowedInvestmentDisbursementValue(Amount).- Parameters:
maxAllowedInvestmentDisbursementValue- a consumer that will call methods onAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-