@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CSVInput extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the comma-separated value (CSV) file to select from.
Constructor and Description |
---|
CSVInput() |
Modifier and Type | Method and Description |
---|---|
CSVInput |
clone() |
boolean |
equals(Object obj) |
String |
getComments()
A single character used to indicate that a row should be ignored when the character is present at the start of
that row.
|
String |
getFieldDelimiter()
A value used to separate individual fields from each other within a record.
|
String |
getFileHeaderInfo()
Describes the first line of input.
|
String |
getQuoteCharacter()
A value used as an escape character where the field delimiter is part of the value.
|
String |
getQuoteEscapeCharacter()
A single character used for escaping the quotation-mark character inside an already escaped value.
|
String |
getRecordDelimiter()
A value used to separate individual records from each other.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComments(String comments)
A single character used to indicate that a row should be ignored when the character is present at the start of
that row.
|
void |
setFieldDelimiter(String fieldDelimiter)
A value used to separate individual fields from each other within a record.
|
void |
setFileHeaderInfo(String fileHeaderInfo)
Describes the first line of input.
|
void |
setQuoteCharacter(String quoteCharacter)
A value used as an escape character where the field delimiter is part of the value.
|
void |
setQuoteEscapeCharacter(String quoteEscapeCharacter)
A single character used for escaping the quotation-mark character inside an already escaped value.
|
void |
setRecordDelimiter(String recordDelimiter)
A value used to separate individual records from each other.
|
String |
toString()
Returns a string representation of this object.
|
CSVInput |
withComments(String comments)
A single character used to indicate that a row should be ignored when the character is present at the start of
that row.
|
CSVInput |
withFieldDelimiter(String fieldDelimiter)
A value used to separate individual fields from each other within a record.
|
CSVInput |
withFileHeaderInfo(FileHeaderInfo fileHeaderInfo)
Describes the first line of input.
|
CSVInput |
withFileHeaderInfo(String fileHeaderInfo)
Describes the first line of input.
|
CSVInput |
withQuoteCharacter(String quoteCharacter)
A value used as an escape character where the field delimiter is part of the value.
|
CSVInput |
withQuoteEscapeCharacter(String quoteEscapeCharacter)
A single character used for escaping the quotation-mark character inside an already escaped value.
|
CSVInput |
withRecordDelimiter(String recordDelimiter)
A value used to separate individual records from each other.
|
public void setFileHeaderInfo(String fileHeaderInfo)
Describes the first line of input. Valid values are None
, Ignore
, and Use
.
fileHeaderInfo
- Describes the first line of input. Valid values are None
, Ignore
, and
Use
.FileHeaderInfo
public String getFileHeaderInfo()
Describes the first line of input. Valid values are None
, Ignore
, and Use
.
None
, Ignore
, and
Use
.FileHeaderInfo
public CSVInput withFileHeaderInfo(String fileHeaderInfo)
Describes the first line of input. Valid values are None
, Ignore
, and Use
.
fileHeaderInfo
- Describes the first line of input. Valid values are None
, Ignore
, and
Use
.FileHeaderInfo
public CSVInput withFileHeaderInfo(FileHeaderInfo fileHeaderInfo)
Describes the first line of input. Valid values are None
, Ignore
, and Use
.
fileHeaderInfo
- Describes the first line of input. Valid values are None
, Ignore
, and
Use
.FileHeaderInfo
public void setComments(String comments)
A single character used to indicate that a row should be ignored when the character is present at the start of that row.
comments
- A single character used to indicate that a row should be ignored when the character is present at the
start of that row.public String getComments()
A single character used to indicate that a row should be ignored when the character is present at the start of that row.
public CSVInput withComments(String comments)
A single character used to indicate that a row should be ignored when the character is present at the start of that row.
comments
- A single character used to indicate that a row should be ignored when the character is present at the
start of that row.public void setQuoteEscapeCharacter(String quoteEscapeCharacter)
A single character used for escaping the quotation-mark character inside an already escaped value.
quoteEscapeCharacter
- A single character used for escaping the quotation-mark character inside an already escaped value.public String getQuoteEscapeCharacter()
A single character used for escaping the quotation-mark character inside an already escaped value.
public CSVInput withQuoteEscapeCharacter(String quoteEscapeCharacter)
A single character used for escaping the quotation-mark character inside an already escaped value.
quoteEscapeCharacter
- A single character used for escaping the quotation-mark character inside an already escaped value.public void setRecordDelimiter(String recordDelimiter)
A value used to separate individual records from each other.
recordDelimiter
- A value used to separate individual records from each other.public String getRecordDelimiter()
A value used to separate individual records from each other.
public CSVInput withRecordDelimiter(String recordDelimiter)
A value used to separate individual records from each other.
recordDelimiter
- A value used to separate individual records from each other.public void setFieldDelimiter(String fieldDelimiter)
A value used to separate individual fields from each other within a record.
fieldDelimiter
- A value used to separate individual fields from each other within a record.public String getFieldDelimiter()
A value used to separate individual fields from each other within a record.
public CSVInput withFieldDelimiter(String fieldDelimiter)
A value used to separate individual fields from each other within a record.
fieldDelimiter
- A value used to separate individual fields from each other within a record.public void setQuoteCharacter(String quoteCharacter)
A value used as an escape character where the field delimiter is part of the value.
quoteCharacter
- A value used as an escape character where the field delimiter is part of the value.public String getQuoteCharacter()
A value used as an escape character where the field delimiter is part of the value.
public CSVInput withQuoteCharacter(String quoteCharacter)
A value used as an escape character where the field delimiter is part of the value.
quoteCharacter
- A value used as an escape character where the field delimiter is part of the value.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.