Interface BatchGetFinancialRecordResponse.Builder

  • Method Details

    • financialRecords

      The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested when errors names 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 when errors names one or more keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • financialRecords

      BatchGetFinancialRecordResponse.Builder financialRecords(FinancialRecord... financialRecords)

      The financial records that the operation retrieved, in no particular order. This list contains fewer records than you requested when errors names 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 when errors names 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 errors names one or more keys.

      This is a convenience method that creates an instance of the FinancialRecord.Builder avoiding the need to create one manually via FinancialRecord.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to financialRecords(List<FinancialRecord>).

      Parameters:
      financialRecords - a consumer that will call methods on FinancialRecord.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 the FinancialRecordError.Builder avoiding the need to create one manually via FinancialRecordError.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errors(List<FinancialRecordError>).

      Parameters:
      errors - a consumer that will call methods on FinancialRecordError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: