Interface CreateCsvClassifierRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateCsvClassifierRequest.Builder,CreateCsvClassifierRequest>,SdkBuilder<CreateCsvClassifierRequest.Builder,CreateCsvClassifierRequest>,SdkPojo
- Enclosing class:
- CreateCsvClassifierRequest
public static interface CreateCsvClassifierRequest.Builder extends SdkPojo, CopyableBuilder<CreateCsvClassifierRequest.Builder,CreateCsvClassifierRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCsvClassifierRequest.BuilderallowSingleColumn(Boolean allowSingleColumn)Enables the processing of files that contain only one column.CreateCsvClassifierRequest.BuildercontainsHeader(String containsHeader)Indicates whether the CSV file contains a header.CreateCsvClassifierRequest.BuildercontainsHeader(CsvHeaderOption containsHeader)Indicates whether the CSV file contains a header.CreateCsvClassifierRequest.BuildercustomDatatypeConfigured(Boolean customDatatypeConfigured)Enables the configuration of custom datatypes.CreateCsvClassifierRequest.BuildercustomDatatypes(String... customDatatypes)Creates a list of supported custom datatypes.CreateCsvClassifierRequest.BuildercustomDatatypes(Collection<String> customDatatypes)Creates a list of supported custom datatypes.CreateCsvClassifierRequest.Builderdelimiter(String delimiter)A custom symbol to denote what separates each column entry in the row.CreateCsvClassifierRequest.BuilderdisableValueTrimming(Boolean disableValueTrimming)Specifies not to trim values before identifying the type of column values.CreateCsvClassifierRequest.Builderheader(String... header)A list of strings representing column names.CreateCsvClassifierRequest.Builderheader(Collection<String> header)A list of strings representing column names.CreateCsvClassifierRequest.Buildername(String name)The name of the classifier.CreateCsvClassifierRequest.BuilderquoteSymbol(String quoteSymbol)A custom symbol to denote what combines content into a single column value.CreateCsvClassifierRequest.Builderserde(String serde)Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.CreateCsvClassifierRequest.Builderserde(CsvSerdeOption serde)Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.-
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 Detail
-
name
CreateCsvClassifierRequest.Builder name(String 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.
-
delimiter
CreateCsvClassifierRequest.Builder delimiter(String 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
CreateCsvClassifierRequest.Builder quoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.
- Parameters:
quoteSymbol- A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containsHeader
CreateCsvClassifierRequest.Builder containsHeader(String 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:
CsvHeaderOption,CsvHeaderOption
-
containsHeader
CreateCsvClassifierRequest.Builder containsHeader(CsvHeaderOption 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:
CsvHeaderOption,CsvHeaderOption
-
header
CreateCsvClassifierRequest.Builder header(Collection<String> 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
CreateCsvClassifierRequest.Builder header(String... 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
CreateCsvClassifierRequest.Builder disableValueTrimming(Boolean 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 is true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowSingleColumn
CreateCsvClassifierRequest.Builder allowSingleColumn(Boolean 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
CreateCsvClassifierRequest.Builder customDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the configuration of custom datatypes.
- Parameters:
customDatatypeConfigured- Enables the configuration of custom datatypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDatatypes
CreateCsvClassifierRequest.Builder customDatatypes(Collection<String> customDatatypes)
Creates a list of supported custom datatypes.
- Parameters:
customDatatypes- Creates a list of supported custom datatypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDatatypes
CreateCsvClassifierRequest.Builder customDatatypes(String... customDatatypes)
Creates a list of supported custom datatypes.
- Parameters:
customDatatypes- Creates a list of supported custom datatypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serde
CreateCsvClassifierRequest.Builder serde(String 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 theNonevalue 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 theNonevalue 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:
CsvSerdeOption,CsvSerdeOption
-
serde
CreateCsvClassifierRequest.Builder serde(CsvSerdeOption 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 theNonevalue 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 theNonevalue 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:
CsvSerdeOption,CsvSerdeOption
-
-