Interface CSV.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CSV.Builder,CSV>,SdkBuilder<CSV.Builder,CSV>,SdkPojo
- Enclosing class:
- CSV
public static interface CSV.Builder extends SdkPojo, CopyableBuilder<CSV.Builder,CSV>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CSV.Buildercolumns(String... columns)An array of names to use for the columns in the transformed log event.CSV.Buildercolumns(Collection<String> columns)An array of names to use for the columns in the transformed log event.CSV.Builderdelimiter(String delimiter)The character used to separate each column in the original comma-separated value log event.CSV.BuilderquoteCharacter(String quoteCharacter)The character used used as a text qualifier for a single column of data.CSV.Buildersource(String source)The path to the field in the log event that has the comma separated values to be parsed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
-