Interface AttestationValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttestationValue.Builder,,AttestationValue> SdkBuilder<AttestationValue.Builder,,AttestationValue> SdkPojo
- Enclosing class:
AttestationValue
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttestationValue.BuilderattestationAmount(Consumer<Amount.Builder> attestationAmount) The value attested as a monetary amount.attestationAmount(Amount attestationAmount) The value attested as a monetary amount.attestationQuantities(Collection<AttestationQuantity> attestationQuantities) The value attested as one or more quantities, each with its own unit.attestationQuantities(Consumer<AttestationQuantity.Builder>... attestationQuantities) The value attested as one or more quantities, each with its own unit.attestationQuantities(AttestationQuantity... attestationQuantities) The value attested as one or more quantities, each with its own unit.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
-
attestationAmount
The value attested as a monetary amount. This form is valid only when the investment has no multiplier.
- Parameters:
attestationAmount- The value attested as a monetary amount. This form is valid only when the investment has no multiplier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationAmount
The value attested as a monetary amount. This form is valid only when the investment has no multiplier.
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 toattestationAmount(Amount).- Parameters:
attestationAmount- 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:
-
attestationQuantities
AttestationValue.Builder attestationQuantities(Collection<AttestationQuantity> attestationQuantities) The value attested as one or more quantities, each with its own unit. The list contains at most 50 quantities.
- Parameters:
attestationQuantities- The value attested as one or more quantities, each with its own unit. The list contains at most 50 quantities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationQuantities
The value attested as one or more quantities, each with its own unit. The list contains at most 50 quantities.
- Parameters:
attestationQuantities- The value attested as one or more quantities, each with its own unit. The list contains at most 50 quantities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationQuantities
AttestationValue.Builder attestationQuantities(Consumer<AttestationQuantity.Builder>... attestationQuantities) The value attested as one or more quantities, each with its own unit. The list contains at most 50 quantities.
This is a convenience method that creates an instance of theAttestationQuantity.Builderavoiding the need to create one manually viaAttestationQuantity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattestationQuantities(List<AttestationQuantity>).- Parameters:
attestationQuantities- a consumer that will call methods onAttestationQuantity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-