@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CsvClassifier extends Object implements Serializable, Cloneable, StructuredPojo
A classifier for custom CSV
content.
Constructor and Description |
---|
CsvClassifier() |
Modifier and Type | Method and Description |
---|---|
CsvClassifier |
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.
|
Date |
getCreationTime()
The time that this classifier was registered.
|
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.
|
Date |
getLastUpdated()
The time that this classifier was last updated.
|
String |
getName()
The name of the classifier.
|
String |
getQuoteSymbol()
A custom symbol to denote what combines content into a single column value.
|
Long |
getVersion()
The version of this classifier.
|
int |
hashCode() |
Boolean |
isAllowSingleColumn()
Enables the processing of files that contain only one column.
|
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 |
setCreationTime(Date creationTime)
The time that this classifier was registered.
|
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 |
setLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
|
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 |
setVersion(Long version)
The version of this classifier.
|
String |
toString()
Returns a string representation of this object.
|
CsvClassifier |
withAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
|
CsvClassifier |
withContainsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
|
CsvClassifier |
withContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
|
CsvClassifier |
withCreationTime(Date creationTime)
The time that this classifier was registered.
|
CsvClassifier |
withDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
|
CsvClassifier |
withDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values.
|
CsvClassifier |
withHeader(Collection<String> header)
A list of strings representing column names.
|
CsvClassifier |
withHeader(String... header)
A list of strings representing column names.
|
CsvClassifier |
withLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
|
CsvClassifier |
withName(String name)
The name of the classifier.
|
CsvClassifier |
withQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value.
|
CsvClassifier |
withVersion(Long version)
The version of this classifier.
|
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 CsvClassifier withName(String name)
The name of the classifier.
name
- The name of the classifier.public void setCreationTime(Date creationTime)
The time that this classifier was registered.
creationTime
- The time that this classifier was registered.public Date getCreationTime()
The time that this classifier was registered.
public CsvClassifier withCreationTime(Date creationTime)
The time that this classifier was registered.
creationTime
- The time that this classifier was registered.public void setLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
lastUpdated
- The time that this classifier was last updated.public Date getLastUpdated()
The time that this classifier was last updated.
public CsvClassifier withLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
lastUpdated
- The time that this classifier was last updated.public void setVersion(Long version)
The version of this classifier.
version
- The version of this classifier.public Long getVersion()
The version of this classifier.
public CsvClassifier withVersion(Long version)
The version of this classifier.
version
- The version of this 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 CsvClassifier 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. It must be different from the column delimiter.
quoteSymbol
- A custom symbol to denote what combines content into a single column value. It must be different from the
column delimiter.public String getQuoteSymbol()
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
public CsvClassifier withQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
quoteSymbol
- A custom symbol to denote what combines content into a single column value. It 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.CsvHeaderOption
public String getContainsHeader()
Indicates whether the CSV file contains a header.
CsvHeaderOption
public CsvClassifier withContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
containsHeader
- Indicates whether the CSV file contains a header.CsvHeaderOption
public CsvClassifier withContainsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
containsHeader
- Indicates whether the CSV file contains a header.CsvHeaderOption
public 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 CsvClassifier 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 CsvClassifier 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
.
true
.public CsvClassifier 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
.
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 CsvClassifier 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 String toString()
toString
in class Object
Object.toString()
public CsvClassifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.