Interface CSV.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CSV.Builder,CSV>, SdkBuilder<CSV.Builder,CSV>, SdkPojo
Enclosing class:
CSV

@Mutable @NotThreadSafe public static interface CSV.Builder extends SdkPojo, CopyableBuilder<CSV.Builder,CSV>
  • Method Details

    • quoteCharacter

      CSV.Builder quoteCharacter(String quoteCharacter)

      The character used used as a text qualifier for a single column of data. If you omit this, the double quotation mark " character is used.

      Parameters:
      quoteCharacter - The character used used as a text qualifier for a single column of data. If you omit this, the double quotation mark " character is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delimiter

      CSV.Builder delimiter(String delimiter)

      The character used to separate each column in the original comma-separated value log event. If you omit this, the processor looks for the comma , character as the delimiter.

      Parameters:
      delimiter - The character used to separate each column in the original comma-separated value log event. If you omit this, the processor looks for the comma , character as the delimiter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columns

      CSV.Builder columns(Collection<String> columns)

      An array of names to use for the columns in the transformed log event.

      If you omit this, default column names ([column_1, column_2 ...]) are used.

      Parameters:
      columns - An array of names to use for the columns in the transformed log event.

      If you omit this, default column names ([column_1, column_2 ...]) are used.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columns

      CSV.Builder columns(String... columns)

      An array of names to use for the columns in the transformed log event.

      If you omit this, default column names ([column_1, column_2 ...]) are used.

      Parameters:
      columns - An array of names to use for the columns in the transformed log event.

      If you omit this, default column names ([column_1, column_2 ...]) are used.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      CSV.Builder source(String source)

      The path to the field in the log event that has the comma separated values to be parsed. If you omit this value, the whole log message is processed.

      Parameters:
      source - The path to the field in the log event that has the comma separated values to be parsed. If you omit this value, the whole log message is processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.