Interface DisbursementDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisbursementDetails.Builder,,DisbursementDetails> SdkBuilder<DisbursementDetails.Builder,,DisbursementDetails> SdkPojo
- Enclosing class:
DisbursementDetails
@Mutable
@NotThreadSafe
public static interface DisbursementDetails.Builder
extends SdkPojo, CopyableBuilder<DisbursementDetails.Builder,DisbursementDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DisbursementDetails.BuilderdisbursedAmount(Consumer<MonetaryValue.Builder> disbursedAmount) The total amount that has been disbursed for this benefit allocation.disbursedAmount(MonetaryValue disbursedAmount) The total amount that has been disbursed for this benefit allocation.default DisbursementDetails.BuilderissuanceDetails(Consumer<IssuanceDetail.Builder> issuanceDetails) Detailed information about how the disbursement was issued and processed.issuanceDetails(IssuanceDetail issuanceDetails) Detailed information about how the disbursement was issued and processed.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
-
disbursedAmount
The total amount that has been disbursed for this benefit allocation.
- Parameters:
disbursedAmount- The total amount that has been disbursed for this benefit allocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disbursedAmount
default DisbursementDetails.Builder disbursedAmount(Consumer<MonetaryValue.Builder> disbursedAmount) The total amount that has been disbursed for this benefit allocation.
This is a convenience method that creates an instance of theMonetaryValue.Builderavoiding the need to create one manually viaMonetaryValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisbursedAmount(MonetaryValue).- Parameters:
disbursedAmount- a consumer that will call methods onMonetaryValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issuanceDetails
Detailed information about how the disbursement was issued and processed.
- Parameters:
issuanceDetails- Detailed information about how the disbursement was issued and processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuanceDetails
default DisbursementDetails.Builder issuanceDetails(Consumer<IssuanceDetail.Builder> issuanceDetails) Detailed information about how the disbursement was issued and processed.
This is a convenience method that creates an instance of theIssuanceDetail.Builderavoiding the need to create one manually viaIssuanceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissuanceDetails(IssuanceDetail).- Parameters:
issuanceDetails- a consumer that will call methods onIssuanceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-