@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReadOptions extends Object implements Serializable, Cloneable, StructuredPojo
Read options for an annotation import job.
Constructor and Description |
---|
ReadOptions() |
Modifier and Type | Method and Description |
---|---|
ReadOptions |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
The file's comment character.
|
String |
getEncoding()
The file's encoding.
|
String |
getEscape()
A character for escaping quotes in the file.
|
Boolean |
getEscapeQuotes()
Whether quotes need to be escaped in the file.
|
Boolean |
getHeader()
Whether the file has a header row.
|
String |
getLineSep()
A line separator for the file.
|
String |
getQuote()
The file's quote character.
|
Boolean |
getQuoteAll()
Whether all values need to be quoted, or just those that contain quotes.
|
String |
getSep()
The file's field separator.
|
int |
hashCode() |
Boolean |
isEscapeQuotes()
Whether quotes need to be escaped in the file.
|
Boolean |
isHeader()
Whether the file has a header row.
|
Boolean |
isQuoteAll()
Whether all values need to be quoted, or just those that contain quotes.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComment(String comment)
The file's comment character.
|
void |
setEncoding(String encoding)
The file's encoding.
|
void |
setEscape(String escape)
A character for escaping quotes in the file.
|
void |
setEscapeQuotes(Boolean escapeQuotes)
Whether quotes need to be escaped in the file.
|
void |
setHeader(Boolean header)
Whether the file has a header row.
|
void |
setLineSep(String lineSep)
A line separator for the file.
|
void |
setQuote(String quote)
The file's quote character.
|
void |
setQuoteAll(Boolean quoteAll)
Whether all values need to be quoted, or just those that contain quotes.
|
void |
setSep(String sep)
The file's field separator.
|
String |
toString()
Returns a string representation of this object.
|
ReadOptions |
withComment(String comment)
The file's comment character.
|
ReadOptions |
withEncoding(String encoding)
The file's encoding.
|
ReadOptions |
withEscape(String escape)
A character for escaping quotes in the file.
|
ReadOptions |
withEscapeQuotes(Boolean escapeQuotes)
Whether quotes need to be escaped in the file.
|
ReadOptions |
withHeader(Boolean header)
Whether the file has a header row.
|
ReadOptions |
withLineSep(String lineSep)
A line separator for the file.
|
ReadOptions |
withQuote(String quote)
The file's quote character.
|
ReadOptions |
withQuoteAll(Boolean quoteAll)
Whether all values need to be quoted, or just those that contain quotes.
|
ReadOptions |
withSep(String sep)
The file's field separator.
|
public void setComment(String comment)
The file's comment character.
comment
- The file's comment character.public String getComment()
The file's comment character.
public ReadOptions withComment(String comment)
The file's comment character.
comment
- The file's comment character.public void setEncoding(String encoding)
The file's encoding.
encoding
- The file's encoding.public String getEncoding()
The file's encoding.
public ReadOptions withEncoding(String encoding)
The file's encoding.
encoding
- The file's encoding.public void setEscape(String escape)
A character for escaping quotes in the file.
escape
- A character for escaping quotes in the file.public String getEscape()
A character for escaping quotes in the file.
public ReadOptions withEscape(String escape)
A character for escaping quotes in the file.
escape
- A character for escaping quotes in the file.public void setEscapeQuotes(Boolean escapeQuotes)
Whether quotes need to be escaped in the file.
escapeQuotes
- Whether quotes need to be escaped in the file.public Boolean getEscapeQuotes()
Whether quotes need to be escaped in the file.
public ReadOptions withEscapeQuotes(Boolean escapeQuotes)
Whether quotes need to be escaped in the file.
escapeQuotes
- Whether quotes need to be escaped in the file.public Boolean isEscapeQuotes()
Whether quotes need to be escaped in the file.
public void setHeader(Boolean header)
Whether the file has a header row.
header
- Whether the file has a header row.public Boolean getHeader()
Whether the file has a header row.
public ReadOptions withHeader(Boolean header)
Whether the file has a header row.
header
- Whether the file has a header row.public Boolean isHeader()
Whether the file has a header row.
public void setLineSep(String lineSep)
A line separator for the file.
lineSep
- A line separator for the file.public String getLineSep()
A line separator for the file.
public ReadOptions withLineSep(String lineSep)
A line separator for the file.
lineSep
- A line separator for the file.public void setQuote(String quote)
The file's quote character.
quote
- The file's quote character.public String getQuote()
The file's quote character.
public ReadOptions withQuote(String quote)
The file's quote character.
quote
- The file's quote character.public void setQuoteAll(Boolean quoteAll)
Whether all values need to be quoted, or just those that contain quotes.
quoteAll
- Whether all values need to be quoted, or just those that contain quotes.public Boolean getQuoteAll()
Whether all values need to be quoted, or just those that contain quotes.
public ReadOptions withQuoteAll(Boolean quoteAll)
Whether all values need to be quoted, or just those that contain quotes.
quoteAll
- Whether all values need to be quoted, or just those that contain quotes.public Boolean isQuoteAll()
Whether all values need to be quoted, or just those that contain quotes.
public void setSep(String sep)
The file's field separator.
sep
- The file's field separator.public String getSep()
The file's field separator.
public ReadOptions withSep(String sep)
The file's field separator.
sep
- The file's field separator.public String toString()
toString
in class Object
Object.toString()
public ReadOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.