Interface GetFinancialRecordResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFinancialRecordResponse.Builder,,GetFinancialRecordResponse> PaymentsResponse.Builder,SdkBuilder<GetFinancialRecordResponse.Builder,,GetFinancialRecordResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFinancialRecordResponse
@Mutable
@NotThreadSafe
public static interface GetFinancialRecordResponse.Builder
extends PaymentsResponse.Builder, SdkPojo, CopyableBuilder<GetFinancialRecordResponse.Builder,GetFinancialRecordResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfinancialRecord(Consumer<FinancialRecord.Builder> financialRecord) The requested financial record.financialRecord(FinancialRecord financialRecord) The requested financial record.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.payments.model.PaymentsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
financialRecord
The requested financial record.
- Parameters:
financialRecord- The requested financial record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
financialRecord
default GetFinancialRecordResponse.Builder financialRecord(Consumer<FinancialRecord.Builder> financialRecord) The requested financial record.
This is a convenience method that creates an instance of theFinancialRecord.Builderavoiding the need to create one manually viaFinancialRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofinancialRecord(FinancialRecord).- Parameters:
financialRecord- a consumer that will call methods onFinancialRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-