@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CsvFormatDescriptor extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about how a source CSV data file should be analyzed.
Constructor and Description |
---|
CsvFormatDescriptor() |
Modifier and Type | Method and Description |
---|---|
CsvFormatDescriptor |
clone() |
boolean |
equals(Object obj) |
String |
getCharset()
The character set in which the source CSV file is written.
|
Boolean |
getContainsHeader()
Whether or not the source CSV file contains a header.
|
String |
getDelimiter()
The character used to delimit the source CSV file.
|
String |
getFileCompression()
The level of compression of the source CSV file.
|
List<String> |
getHeaderList()
A list of the source CSV file's headers, if any.
|
String |
getQuoteSymbol()
The character used as a quote character.
|
int |
hashCode() |
Boolean |
isContainsHeader()
Whether or not the source CSV file contains a header.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCharset(String charset)
The character set in which the source CSV file is written.
|
void |
setContainsHeader(Boolean containsHeader)
Whether or not the source CSV file contains a header.
|
void |
setDelimiter(String delimiter)
The character used to delimit the source CSV file.
|
void |
setFileCompression(String fileCompression)
The level of compression of the source CSV file.
|
void |
setHeaderList(Collection<String> headerList)
A list of the source CSV file's headers, if any.
|
void |
setQuoteSymbol(String quoteSymbol)
The character used as a quote character.
|
String |
toString()
Returns a string representation of this object.
|
CsvFormatDescriptor |
withCharset(String charset)
The character set in which the source CSV file is written.
|
CsvFormatDescriptor |
withContainsHeader(Boolean containsHeader)
Whether or not the source CSV file contains a header.
|
CsvFormatDescriptor |
withDelimiter(String delimiter)
The character used to delimit the source CSV file.
|
CsvFormatDescriptor |
withFileCompression(CSVFileCompression fileCompression)
The level of compression of the source CSV file.
|
CsvFormatDescriptor |
withFileCompression(String fileCompression)
The level of compression of the source CSV file.
|
CsvFormatDescriptor |
withHeaderList(Collection<String> headerList)
A list of the source CSV file's headers, if any.
|
CsvFormatDescriptor |
withHeaderList(String... headerList)
A list of the source CSV file's headers, if any.
|
CsvFormatDescriptor |
withQuoteSymbol(String quoteSymbol)
The character used as a quote character.
|
public void setFileCompression(String fileCompression)
The level of compression of the source CSV file.
fileCompression
- The level of compression of the source CSV file.CSVFileCompression
public String getFileCompression()
The level of compression of the source CSV file.
CSVFileCompression
public CsvFormatDescriptor withFileCompression(String fileCompression)
The level of compression of the source CSV file.
fileCompression
- The level of compression of the source CSV file.CSVFileCompression
public CsvFormatDescriptor withFileCompression(CSVFileCompression fileCompression)
The level of compression of the source CSV file.
fileCompression
- The level of compression of the source CSV file.CSVFileCompression
public void setCharset(String charset)
The character set in which the source CSV file is written.
charset
- The character set in which the source CSV file is written.public String getCharset()
The character set in which the source CSV file is written.
public CsvFormatDescriptor withCharset(String charset)
The character set in which the source CSV file is written.
charset
- The character set in which the source CSV file is written.public void setContainsHeader(Boolean containsHeader)
Whether or not the source CSV file contains a header.
containsHeader
- Whether or not the source CSV file contains a header.public Boolean getContainsHeader()
Whether or not the source CSV file contains a header.
public CsvFormatDescriptor withContainsHeader(Boolean containsHeader)
Whether or not the source CSV file contains a header.
containsHeader
- Whether or not the source CSV file contains a header.public Boolean isContainsHeader()
Whether or not the source CSV file contains a header.
public void setDelimiter(String delimiter)
The character used to delimit the source CSV file.
delimiter
- The character used to delimit the source CSV file.public String getDelimiter()
The character used to delimit the source CSV file.
public CsvFormatDescriptor withDelimiter(String delimiter)
The character used to delimit the source CSV file.
delimiter
- The character used to delimit the source CSV file.public List<String> getHeaderList()
A list of the source CSV file's headers, if any.
public void setHeaderList(Collection<String> headerList)
A list of the source CSV file's headers, if any.
headerList
- A list of the source CSV file's headers, if any.public CsvFormatDescriptor withHeaderList(String... headerList)
A list of the source CSV file's headers, if any.
NOTE: This method appends the values to the existing list (if any). Use
setHeaderList(java.util.Collection)
or withHeaderList(java.util.Collection)
if you want to
override the existing values.
headerList
- A list of the source CSV file's headers, if any.public CsvFormatDescriptor withHeaderList(Collection<String> headerList)
A list of the source CSV file's headers, if any.
headerList
- A list of the source CSV file's headers, if any.public void setQuoteSymbol(String quoteSymbol)
The character used as a quote character.
quoteSymbol
- The character used as a quote character.public String getQuoteSymbol()
The character used as a quote character.
public CsvFormatDescriptor withQuoteSymbol(String quoteSymbol)
The character used as a quote character.
quoteSymbol
- The character used as a quote character.public String toString()
toString
in class Object
Object.toString()
public CsvFormatDescriptor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.