Interface OutcomeBasedInvestment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OutcomeBasedInvestment.Builder,,OutcomeBasedInvestment> SdkBuilder<OutcomeBasedInvestment.Builder,,OutcomeBasedInvestment> SdkPojo
- Enclosing class:
OutcomeBasedInvestment
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutcomeBasedInvestment.BuilderattestationWindow(Consumer<Interval.Builder> attestationWindow) The time window, expressed as an interval with inclusive start and end dates, during which outcomes can be attested to.attestationWindow(Interval attestationWindow) The time window, expressed as an interval with inclusive start and end dates, during which outcomes can be attested to.default OutcomeBasedInvestment.BuilderdisbursedValue(Consumer<Amount.Builder> disbursedValue) The total value already disbursed against the investment.disbursedValue(Amount disbursedValue) The total value already disbursed against the investment.investmentId(String investmentId) The identifier of the investment, as returned byListContractualInvestments.investmentMultipliers(Collection<InvestmentMultiplier> investmentMultipliers) The multipliers used to compute the investment value from the attestation input.investmentMultipliers(Consumer<InvestmentMultiplier.Builder>... investmentMultipliers) The multipliers used to compute the investment value from the attestation input.investmentMultipliers(InvestmentMultiplier... investmentMultipliers) The multipliers used to compute the investment value from the attestation input.investmentRestrictions(Collection<InvestmentRestriction> investmentRestrictions) The restrictions that cap the value that can be disbursed for the investment.investmentRestrictions(Consumer<InvestmentRestriction.Builder>... investmentRestrictions) The restrictions that cap the value that can be disbursed for the investment.investmentRestrictions(InvestmentRestriction... investmentRestrictions) The restrictions that cap the value that can be disbursed for the investment.outcomeDescription(String outcomeDescription) The description of what must be completed to attest the outcome.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
-
investmentId
The identifier of the investment, as returned by
ListContractualInvestments. This value is 1–36 characters.- Parameters:
investmentId- The identifier of the investment, as returned byListContractualInvestments. This value is 1–36 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomeDescription
The description of what must be completed to attest the outcome. This value is 1–2048 characters.
- Parameters:
outcomeDescription- The description of what must be completed to attest the outcome. This value is 1–2048 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationWindow
The time window, expressed as an interval with inclusive start and end dates, during which outcomes can be attested to.
- Parameters:
attestationWindow- The time window, expressed as an interval with inclusive start and end dates, during which outcomes can be attested to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationWindow
default OutcomeBasedInvestment.Builder attestationWindow(Consumer<Interval.Builder> attestationWindow) The time window, expressed as an interval with inclusive start and end dates, during which outcomes can be attested to.
This is a convenience method that creates an instance of theInterval.Builderavoiding the need to create one manually viaInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattestationWindow(Interval).- Parameters:
attestationWindow- a consumer that will call methods onInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
investmentRestrictions
OutcomeBasedInvestment.Builder investmentRestrictions(Collection<InvestmentRestriction> investmentRestrictions) The restrictions that cap the value that can be disbursed for the investment. The list contains at most 10 restrictions.
- Parameters:
investmentRestrictions- The restrictions that cap the value that can be disbursed for the investment. The list contains at most 10 restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentRestrictions
OutcomeBasedInvestment.Builder investmentRestrictions(InvestmentRestriction... investmentRestrictions) The restrictions that cap the value that can be disbursed for the investment. The list contains at most 10 restrictions.
- Parameters:
investmentRestrictions- The restrictions that cap the value that can be disbursed for the investment. The list contains at most 10 restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentRestrictions
OutcomeBasedInvestment.Builder investmentRestrictions(Consumer<InvestmentRestriction.Builder>... investmentRestrictions) The restrictions that cap the value that can be disbursed for the investment. The list contains at most 10 restrictions.
This is a convenience method that creates an instance of theInvestmentRestriction.Builderavoiding the need to create one manually viaInvestmentRestriction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvestmentRestrictions(List<InvestmentRestriction>).- Parameters:
investmentRestrictions- a consumer that will call methods onInvestmentRestriction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
investmentMultipliers
OutcomeBasedInvestment.Builder investmentMultipliers(Collection<InvestmentMultiplier> investmentMultipliers) The multipliers used to compute the investment value from the attestation input. The list contains at most 200 multipliers. Multipliers are derived from the terms of the private pricing contract.
- Parameters:
investmentMultipliers- The multipliers used to compute the investment value from the attestation input. The list contains at most 200 multipliers. Multipliers are derived from the terms of the private pricing contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentMultipliers
The multipliers used to compute the investment value from the attestation input. The list contains at most 200 multipliers. Multipliers are derived from the terms of the private pricing contract.
- Parameters:
investmentMultipliers- The multipliers used to compute the investment value from the attestation input. The list contains at most 200 multipliers. Multipliers are derived from the terms of the private pricing contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentMultipliers
OutcomeBasedInvestment.Builder investmentMultipliers(Consumer<InvestmentMultiplier.Builder>... investmentMultipliers) The multipliers used to compute the investment value from the attestation input. The list contains at most 200 multipliers. Multipliers are derived from the terms of the private pricing contract.
This is a convenience method that creates an instance of theInvestmentMultiplier.Builderavoiding the need to create one manually viaInvestmentMultiplier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvestmentMultipliers(List<InvestmentMultiplier>).- Parameters:
investmentMultipliers- a consumer that will call methods onInvestmentMultiplier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disbursedValue
The total value already disbursed against the investment. This value can be distributed among the investment accounts distribution.
- Parameters:
disbursedValue- The total value already disbursed against the investment. This value can be distributed among the investment accounts distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disbursedValue
The total value already disbursed against the investment. This value can be distributed among the investment accounts distribution.
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 todisbursedValue(Amount).- Parameters:
disbursedValue- 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:
-