Interface InvestmentAttestation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvestmentAttestation.Builder,,InvestmentAttestation> SdkBuilder<InvestmentAttestation.Builder,,InvestmentAttestation> SdkPojo
- Enclosing class:
InvestmentAttestation
-
Method Summary
Modifier and TypeMethodDescriptionattestationId(String attestationId) The identifier of the attestation.attestationStatus(String attestationStatus) The current status of the attestation.attestationStatus(InvestmentAttestationStatus attestationStatus) The current status of the attestation.attestedAt(Instant attestedAt) The date on which the attestation was submitted.default InvestmentAttestation.BuilderattestedValue(Consumer<Amount.Builder> attestedValue) The monetary value attested.attestedValue(Amount attestedValue) The monetary value attested.investmentDisbursedAt(Instant investmentDisbursedAt) The start date on which the investment is disbursed to the investment accounts.investmentDistributions(Collection<InvestmentDistribution> investmentDistributions) The distribution of the attested investment across the eligible investment accounts.investmentDistributions(Consumer<InvestmentDistribution.Builder>... investmentDistributions) The distribution of the attested investment across the eligible investment accounts.investmentDistributions(InvestmentDistribution... investmentDistributions) The distribution of the attested investment across the eligible investment accounts.investmentId(String investmentId) The identifier of the investment that was attested, as returned byListContractualInvestments.investmentName(String investmentName) The name of the investment summary that contains the attested outcome.investmentSummaryId(String investmentSummaryId) The identifier of the investment summary that was attested, as returned byListContractualInvestmentSummaries.isCancellable(Boolean isCancellable) Indicates whether the attestation can be canceled withCancelContractualInvestmentAttestation.outcomeDescription(String outcomeDescription) The description of the attested outcome.rejectionReasons(String... rejectionReasons) The reasons the attestation was rejected.rejectionReasons(Collection<String> rejectionReasons) The reasons the attestation was rejected.The date on which the attestation was last updated.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
-
attestationId
The identifier of the attestation. This value is returned by
CreateContractualInvestmentAttestationand is used to cancel the attestation withCancelContractualInvestmentAttestation. This value is 1–36 characters.- Parameters:
attestationId- The identifier of the attestation. This value is returned byCreateContractualInvestmentAttestationand is used to cancel the attestation withCancelContractualInvestmentAttestation. 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 that contains the attested outcome. This value is 1–400 characters.
- Parameters:
investmentName- The name of the investment summary that contains the attested outcome. This value is 1–400 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomeDescription
The description of the attested outcome. This value is 1–2048 characters.
- Parameters:
outcomeDescription- The description of the attested outcome. This value is 1–2048 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentSummaryId
The identifier of the investment summary that was attested, as returned by
ListContractualInvestmentSummaries.- Parameters:
investmentSummaryId- The identifier of the investment summary that was attested, as returned byListContractualInvestmentSummaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentId
The identifier of the investment that was attested, as returned by
ListContractualInvestments.- Parameters:
investmentId- The identifier of the investment that was attested, as returned byListContractualInvestments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestedAt
The date on which the attestation was submitted.
- Parameters:
attestedAt- The date on which the attestation was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date on which the attestation was last updated.
- Parameters:
updatedAt- The date on which the attestation was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationStatus
The current status of the attestation. Valid values are
PENDING_REVIEW,PENDING_C_LEVEL_APPROVAL,PENDING_CANCELLATION,REJECTED,CANCELLED, andDISBURSED. The valuesDISBURSED,REJECTED, andCANCELLEDare terminal. The other values indicate the attestation is still in progress.- Parameters:
attestationStatus- The current status of the attestation. Valid values arePENDING_REVIEW,PENDING_C_LEVEL_APPROVAL,PENDING_CANCELLATION,REJECTED,CANCELLED, andDISBURSED. The valuesDISBURSED,REJECTED, andCANCELLEDare terminal. The other values indicate the attestation is still in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attestationStatus
The current status of the attestation. Valid values are
PENDING_REVIEW,PENDING_C_LEVEL_APPROVAL,PENDING_CANCELLATION,REJECTED,CANCELLED, andDISBURSED. The valuesDISBURSED,REJECTED, andCANCELLEDare terminal. The other values indicate the attestation is still in progress.- Parameters:
attestationStatus- The current status of the attestation. Valid values arePENDING_REVIEW,PENDING_C_LEVEL_APPROVAL,PENDING_CANCELLATION,REJECTED,CANCELLED, andDISBURSED. The valuesDISBURSED,REJECTED, andCANCELLEDare terminal. The other values indicate the attestation is still in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
investmentDisbursedAt
The start date on which the investment is disbursed to the investment accounts. This is not the same as the time of disbursement, but reflects the date you submitted with the attestation.
- Parameters:
investmentDisbursedAt- The start date on which the investment is disbursed to the investment accounts. This is not the same as the time of disbursement, but reflects the date you submitted with the attestation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestedValue
The monetary value attested.
- Parameters:
attestedValue- The monetary value attested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestedValue
The monetary value attested.
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 toattestedValue(Amount).- Parameters:
attestedValue- 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:
-
investmentDistributions
InvestmentAttestation.Builder investmentDistributions(Collection<InvestmentDistribution> investmentDistributions) The distribution of the attested investment across the eligible investment accounts. The list contains at most 200 distributions.
- Parameters:
investmentDistributions- The distribution of the attested investment across the eligible investment accounts. The list contains at most 200 distributions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentDistributions
InvestmentAttestation.Builder investmentDistributions(InvestmentDistribution... investmentDistributions) The distribution of the attested investment across the eligible investment accounts. The list contains at most 200 distributions.
- Parameters:
investmentDistributions- The distribution of the attested investment across the eligible investment accounts. The list contains at most 200 distributions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentDistributions
InvestmentAttestation.Builder investmentDistributions(Consumer<InvestmentDistribution.Builder>... investmentDistributions) The distribution of the attested investment across the eligible investment accounts. The list contains at most 200 distributions.
This is a convenience method that creates an instance of theInvestmentDistribution.Builderavoiding the need to create one manually viaInvestmentDistribution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvestmentDistributions(List<InvestmentDistribution>).- Parameters:
investmentDistributions- a consumer that will call methods onInvestmentDistribution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rejectionReasons
The reasons the attestation was rejected. This value is present only when
attestationStatusisREJECTED. The list contains at most 30 reasons.- Parameters:
rejectionReasons- The reasons the attestation was rejected. This value is present only whenattestationStatusisREJECTED. The list contains at most 30 reasons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectionReasons
The reasons the attestation was rejected. This value is present only when
attestationStatusisREJECTED. The list contains at most 30 reasons.- Parameters:
rejectionReasons- The reasons the attestation was rejected. This value is present only whenattestationStatusisREJECTED. The list contains at most 30 reasons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCancellable
Indicates whether the attestation can be canceled with
CancelContractualInvestmentAttestation.- Parameters:
isCancellable- Indicates whether the attestation can be canceled withCancelContractualInvestmentAttestation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-