Interface AttestationDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttestationDetails.Builder,,AttestationDetails> SdkBuilder<AttestationDetails.Builder,,AttestationDetails> SdkPojo
- Enclosing class:
AttestationDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttestationDetails.BuilderattestationValue(Consumer<AttestationValue.Builder> attestationValue) The value being attested, expressed as either a monetary amount or one or more quantities.attestationValue(AttestationValue attestationValue) The value being attested, expressed as either a monetary amount or one or more quantities.investmentDistributions(Collection<InvestmentDistribution> investmentDistributions) The distribution of the resulting investment across the eligible investment accounts on the contract.investmentDistributions(Consumer<InvestmentDistribution.Builder>... investmentDistributions) The distribution of the resulting investment across the eligible investment accounts on the contract.investmentDistributions(InvestmentDistribution... investmentDistributions) The distribution of the resulting investment across the eligible investment accounts on the contract.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
-
attestationValue
The value being attested, expressed as either a monetary amount or one or more quantities. Exactly one form is set.
- Parameters:
attestationValue- The value being attested, expressed as either a monetary amount or one or more quantities. Exactly one form is set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationValue
default AttestationDetails.Builder attestationValue(Consumer<AttestationValue.Builder> attestationValue) The value being attested, expressed as either a monetary amount or one or more quantities. Exactly one form is set.
This is a convenience method that creates an instance of theAttestationValue.Builderavoiding the need to create one manually viaAttestationValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattestationValue(AttestationValue).- Parameters:
attestationValue- a consumer that will call methods onAttestationValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
investmentDistributions
AttestationDetails.Builder investmentDistributions(Collection<InvestmentDistribution> investmentDistributions) The distribution of the resulting investment across the eligible investment accounts on the contract. If you omit this value, the full investment is allocated to the single eligible investment account on the contract. This value is required when multiple investment accounts are eligible. When you provide this value, the sum of all distributions must equal the resulting monetary investment value (the attested amount, or the value computed from the attested quantities using the investment multipliers). The list contains at most 200 distributions.
- Parameters:
investmentDistributions- The distribution of the resulting investment across the eligible investment accounts on the contract. If you omit this value, the full investment is allocated to the single eligible investment account on the contract. This value is required when multiple investment accounts are eligible. When you provide this value, the sum of all distributions must equal the resulting monetary investment value (the attested amount, or the value computed from the attested quantities using the investment multipliers). The list contains at most 200 distributions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentDistributions
AttestationDetails.Builder investmentDistributions(InvestmentDistribution... investmentDistributions) The distribution of the resulting investment across the eligible investment accounts on the contract. If you omit this value, the full investment is allocated to the single eligible investment account on the contract. This value is required when multiple investment accounts are eligible. When you provide this value, the sum of all distributions must equal the resulting monetary investment value (the attested amount, or the value computed from the attested quantities using the investment multipliers). The list contains at most 200 distributions.
- Parameters:
investmentDistributions- The distribution of the resulting investment across the eligible investment accounts on the contract. If you omit this value, the full investment is allocated to the single eligible investment account on the contract. This value is required when multiple investment accounts are eligible. When you provide this value, the sum of all distributions must equal the resulting monetary investment value (the attested amount, or the value computed from the attested quantities using the investment multipliers). The list contains at most 200 distributions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentDistributions
AttestationDetails.Builder investmentDistributions(Consumer<InvestmentDistribution.Builder>... investmentDistributions) The distribution of the resulting investment across the eligible investment accounts on the contract. If you omit this value, the full investment is allocated to the single eligible investment account on the contract. This value is required when multiple investment accounts are eligible. When you provide this value, the sum of all distributions must equal the resulting monetary investment value (the attested amount, or the value computed from the attested quantities using the investment multipliers). 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:
-