Interface BatchGetFinancialRecordResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetFinancialRecordResponse.Builder,,BatchGetFinancialRecordResponse> PaymentsResponse.Builder,SdkBuilder<BatchGetFinancialRecordResponse.Builder,,BatchGetFinancialRecordResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetFinancialRecordResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<FinancialRecordError> errors) The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason.errors(Consumer<FinancialRecordError.Builder>... errors) The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason.errors(FinancialRecordError... errors) The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason.financialRecords(Collection<FinancialRecord> financialRecords) The financial records that the operation retrieved, in no particular order.financialRecords(Consumer<FinancialRecord.Builder>... financialRecords) The financial records that the operation retrieved, in no particular order.financialRecords(FinancialRecord... financialRecords) The financial records that the operation retrieved, in no particular order.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
-
financialRecords
BatchGetFinancialRecordResponse.Builder financialRecords(Collection<FinancialRecord> financialRecords) The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested when
errorsnames one or more keys.- Parameters:
financialRecords- The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested whenerrorsnames one or more keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
financialRecords
The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested when
errorsnames one or more keys.- Parameters:
financialRecords- The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested whenerrorsnames one or more keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
financialRecords
BatchGetFinancialRecordResponse.Builder financialRecords(Consumer<FinancialRecord.Builder>... financialRecords) The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested when
This is a convenience method that creates an instance of theerrorsnames one or more keys.FinancialRecord.Builderavoiding the need to create one manually viaFinancialRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofinancialRecords(List<FinancialRecord>).- Parameters:
financialRecords- 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:
-
errors
The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason. This list is empty when the operation retrieved every record.
- Parameters:
errors- The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason. This list is empty when the operation retrieved every record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason. This list is empty when the operation retrieved every record.
- Parameters:
errors- The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason. This list is empty when the operation retrieved every record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors for the records that the operation couldn't retrieve, one for each record, with the key as you requested it and the reason. This list is empty when the operation retrieved every record.
This is a convenience method that creates an instance of theFinancialRecordError.Builderavoiding the need to create one manually viaFinancialRecordError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<FinancialRecordError>).- Parameters:
errors- a consumer that will call methods onFinancialRecordError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-