Interface CsvClassifier.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CsvClassifier.Builder,
,CsvClassifier> SdkBuilder<CsvClassifier.Builder,
,CsvClassifier> SdkPojo
- Enclosing class:
CsvClassifier
-
Method Summary
Modifier and TypeMethodDescriptionallowSingleColumn
(Boolean allowSingleColumn) Enables the processing of files that contain only one column.containsHeader
(String containsHeader) Indicates whether the CSV file contains a header.containsHeader
(CsvHeaderOption containsHeader) Indicates whether the CSV file contains a header.creationTime
(Instant creationTime) The time that this classifier was registered.customDatatypeConfigured
(Boolean customDatatypeConfigured) Enables the custom datatype to be configured.customDatatypes
(String... customDatatypes) A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".customDatatypes
(Collection<String> customDatatypes) A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".A custom symbol to denote what separates each column entry in the row.disableValueTrimming
(Boolean disableValueTrimming) Specifies not to trim values before identifying the type of column values.A list of strings representing column names.header
(Collection<String> header) A list of strings representing column names.lastUpdated
(Instant lastUpdated) The time that this classifier was last updated.The name of the classifier.quoteSymbol
(String quoteSymbol) A custom symbol to denote what combines content into a single column value.Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.serde
(CsvSerdeOption serde) Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.The version of this classifier.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, sdkFields
-
Method Details
-
name
The name of the classifier.
- Parameters:
name
- The name of the classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time that this classifier was registered.
- Parameters:
creationTime
- The time that this classifier was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdated
The time that this classifier was last updated.
- Parameters:
lastUpdated
- The time that this classifier was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of this classifier.
- Parameters:
version
- The version of this classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delimiter
A custom symbol to denote what separates each column entry in the row.
- Parameters:
delimiter
- A custom symbol to denote what separates each column entry in the row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quoteSymbol
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
- Parameters:
quoteSymbol
- A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containsHeader
Indicates whether the CSV file contains a header.
- Parameters:
containsHeader
- Indicates whether the CSV file contains a header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containsHeader
Indicates whether the CSV file contains a header.
- Parameters:
containsHeader
- Indicates whether the CSV file contains a header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
header
A list of strings representing column names.
- Parameters:
header
- A list of strings representing column names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
header
A list of strings representing column names.
- Parameters:
header
- A list of strings representing column names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableValueTrimming
Specifies not to trim values before identifying the type of column values. The default value is
true
.- Parameters:
disableValueTrimming
- Specifies not to trim values before identifying the type of column values. The default value istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowSingleColumn
Enables the processing of files that contain only one column.
- Parameters:
allowSingleColumn
- Enables the processing of files that contain only one column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDatatypeConfigured
Enables the custom datatype to be configured.
- Parameters:
customDatatypeConfigured
- Enables the custom datatype to be configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDatatypes
A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".
- Parameters:
customDatatypes
- A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDatatypes
A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".
- Parameters:
customDatatypes
- A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serde
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are
OpenCSVSerDe
,LazySimpleSerDe
, andNone
. You can specify theNone
value when you want the crawler to do the detection.- Parameters:
serde
- Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values areOpenCSVSerDe
,LazySimpleSerDe
, andNone
. You can specify theNone
value when you want the crawler to do the detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serde
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are
OpenCSVSerDe
,LazySimpleSerDe
, andNone
. You can specify theNone
value when you want the crawler to do the detection.- Parameters:
serde
- Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values areOpenCSVSerDe
,LazySimpleSerDe
, andNone
. You can specify theNone
value when you want the crawler to do the detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-