@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCsvClassifierRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a custom CSV classifier for CreateClassifier to create.
| Constructor and Description |
|---|
CreateCsvClassifierRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateCsvClassifierRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowSingleColumn()
Enables the processing of files that contain only one column.
|
String |
getContainsHeader()
Indicates whether the CSV file contains a header.
|
Boolean |
getCustomDatatypeConfigured()
Enables the configuration of custom datatypes.
|
List<String> |
getCustomDatatypes()
Creates a list of supported custom datatypes.
|
String |
getDelimiter()
A custom symbol to denote what separates each column entry in the row.
|
Boolean |
getDisableValueTrimming()
Specifies not to trim values before identifying the type of column values.
|
List<String> |
getHeader()
A list of strings representing column names.
|
String |
getName()
The name of the classifier.
|
String |
getQuoteSymbol()
A custom symbol to denote what combines content into a single column value.
|
String |
getSerde()
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.
|
int |
hashCode() |
Boolean |
isAllowSingleColumn()
Enables the processing of files that contain only one column.
|
Boolean |
isCustomDatatypeConfigured()
Enables the configuration of custom datatypes.
|
Boolean |
isDisableValueTrimming()
Specifies not to trim values before identifying the type of column values.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
|
void |
setContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
|
void |
setCustomDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the configuration of custom datatypes.
|
void |
setCustomDatatypes(Collection<String> customDatatypes)
Creates a list of supported custom datatypes.
|
void |
setDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
|
void |
setDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values.
|
void |
setHeader(Collection<String> header)
A list of strings representing column names.
|
void |
setName(String name)
The name of the classifier.
|
void |
setQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value.
|
void |
setSerde(String serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.
|
String |
toString()
Returns a string representation of this object.
|
CreateCsvClassifierRequest |
withAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
|
CreateCsvClassifierRequest |
withContainsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
|
CreateCsvClassifierRequest |
withContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
|
CreateCsvClassifierRequest |
withCustomDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the configuration of custom datatypes.
|
CreateCsvClassifierRequest |
withCustomDatatypes(Collection<String> customDatatypes)
Creates a list of supported custom datatypes.
|
CreateCsvClassifierRequest |
withCustomDatatypes(String... customDatatypes)
Creates a list of supported custom datatypes.
|
CreateCsvClassifierRequest |
withDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
|
CreateCsvClassifierRequest |
withDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values.
|
CreateCsvClassifierRequest |
withHeader(Collection<String> header)
A list of strings representing column names.
|
CreateCsvClassifierRequest |
withHeader(String... header)
A list of strings representing column names.
|
CreateCsvClassifierRequest |
withName(String name)
The name of the classifier.
|
CreateCsvClassifierRequest |
withQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value.
|
CreateCsvClassifierRequest |
withSerde(CsvSerdeOption serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.
|
CreateCsvClassifierRequest |
withSerde(String serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.
|
public void setName(String name)
The name of the classifier.
name - The name of the classifier.public String getName()
The name of the classifier.
public CreateCsvClassifierRequest withName(String name)
The name of the classifier.
name - The name of the classifier.public void setDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
delimiter - A custom symbol to denote what separates each column entry in the row.public String getDelimiter()
A custom symbol to denote what separates each column entry in the row.
public CreateCsvClassifierRequest withDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
delimiter - A custom symbol to denote what separates each column entry in the row.public void setQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.
quoteSymbol - A custom symbol to denote what combines content into a single column value. Must be different from the
column delimiter.public String getQuoteSymbol()
A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.
public CreateCsvClassifierRequest withQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.
quoteSymbol - A custom symbol to denote what combines content into a single column value. Must be different from the
column delimiter.public void setContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
containsHeader - Indicates whether the CSV file contains a header.CsvHeaderOptionpublic String getContainsHeader()
Indicates whether the CSV file contains a header.
CsvHeaderOptionpublic CreateCsvClassifierRequest withContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
containsHeader - Indicates whether the CSV file contains a header.CsvHeaderOptionpublic CreateCsvClassifierRequest withContainsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
containsHeader - Indicates whether the CSV file contains a header.CsvHeaderOptionpublic List<String> getHeader()
A list of strings representing column names.
public void setHeader(Collection<String> header)
A list of strings representing column names.
header - A list of strings representing column names.public CreateCsvClassifierRequest withHeader(String... header)
A list of strings representing column names.
NOTE: This method appends the values to the existing list (if any). Use
setHeader(java.util.Collection) or withHeader(java.util.Collection) if you want to override the
existing values.
header - A list of strings representing column names.public CreateCsvClassifierRequest withHeader(Collection<String> header)
A list of strings representing column names.
header - A list of strings representing column names.public void setDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values. The default value is true.
disableValueTrimming - Specifies not to trim values before identifying the type of column values. The default value is true.public Boolean getDisableValueTrimming()
Specifies not to trim values before identifying the type of column values. The default value is true.
public CreateCsvClassifierRequest withDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values. The default value is true.
disableValueTrimming - Specifies not to trim values before identifying the type of column values. The default value is true.public Boolean isDisableValueTrimming()
Specifies not to trim values before identifying the type of column values. The default value is true.
public void setAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
allowSingleColumn - Enables the processing of files that contain only one column.public Boolean getAllowSingleColumn()
Enables the processing of files that contain only one column.
public CreateCsvClassifierRequest withAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
allowSingleColumn - Enables the processing of files that contain only one column.public Boolean isAllowSingleColumn()
Enables the processing of files that contain only one column.
public void setCustomDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the configuration of custom datatypes.
customDatatypeConfigured - Enables the configuration of custom datatypes.public Boolean getCustomDatatypeConfigured()
Enables the configuration of custom datatypes.
public CreateCsvClassifierRequest withCustomDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the configuration of custom datatypes.
customDatatypeConfigured - Enables the configuration of custom datatypes.public Boolean isCustomDatatypeConfigured()
Enables the configuration of custom datatypes.
public List<String> getCustomDatatypes()
Creates a list of supported custom datatypes.
public void setCustomDatatypes(Collection<String> customDatatypes)
Creates a list of supported custom datatypes.
customDatatypes - Creates a list of supported custom datatypes.public CreateCsvClassifierRequest withCustomDatatypes(String... customDatatypes)
Creates a list of supported custom datatypes.
NOTE: This method appends the values to the existing list (if any). Use
setCustomDatatypes(java.util.Collection) or withCustomDatatypes(java.util.Collection) if you
want to override the existing values.
customDatatypes - Creates a list of supported custom datatypes.public CreateCsvClassifierRequest withCustomDatatypes(Collection<String> customDatatypes)
Creates a list of supported custom datatypes.
customDatatypes - Creates a list of supported custom datatypes.public void setSerde(String serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are
OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the
None value when you want the crawler to do the detection.
serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid
values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify
the None value when you want the crawler to do the detection.CsvSerdeOptionpublic String getSerde()
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are
OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the
None value when you want the crawler to do the detection.
OpenCSVSerDe, LazySimpleSerDe, and None. You can
specify the None value when you want the crawler to do the detection.CsvSerdeOptionpublic CreateCsvClassifierRequest withSerde(String serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are
OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the
None value when you want the crawler to do the detection.
serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid
values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify
the None value when you want the crawler to do the detection.CsvSerdeOptionpublic CreateCsvClassifierRequest withSerde(CsvSerdeOption serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are
OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the
None value when you want the crawler to do the detection.
serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid
values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify
the None value when you want the crawler to do the detection.CsvSerdeOptionpublic String toString()
toString in class ObjectObject.toString()public CreateCsvClassifierRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.