@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CsvConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A delimited data format where the column separator can be a comma and the record separator is a newline character.
Constructor and Description |
---|
CsvConfiguration() |
Modifier and Type | Method and Description |
---|---|
CsvConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getColumnSeparator()
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
|
String |
getEscapeChar()
Escape character can be one of
|
String |
getNullValue()
Can be blank space (' ').
|
String |
getQuoteChar()
Can be single quote (') or double quote (").
|
Boolean |
getTrimWhiteSpace()
Specifies to trim leading and trailing white space.
|
int |
hashCode() |
Boolean |
isTrimWhiteSpace()
Specifies to trim leading and trailing white space.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnSeparator(String columnSeparator)
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
|
void |
setEscapeChar(String escapeChar)
Escape character can be one of
|
void |
setNullValue(String nullValue)
Can be blank space (' ').
|
void |
setQuoteChar(String quoteChar)
Can be single quote (') or double quote (").
|
void |
setTrimWhiteSpace(Boolean trimWhiteSpace)
Specifies to trim leading and trailing white space.
|
String |
toString()
Returns a string representation of this object.
|
CsvConfiguration |
withColumnSeparator(String columnSeparator)
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
|
CsvConfiguration |
withEscapeChar(String escapeChar)
Escape character can be one of
|
CsvConfiguration |
withNullValue(String nullValue)
Can be blank space (' ').
|
CsvConfiguration |
withQuoteChar(String quoteChar)
Can be single quote (') or double quote (").
|
CsvConfiguration |
withTrimWhiteSpace(Boolean trimWhiteSpace)
Specifies to trim leading and trailing white space.
|
public void setColumnSeparator(String columnSeparator)
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
columnSeparator
- Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').public String getColumnSeparator()
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
public CsvConfiguration withColumnSeparator(String columnSeparator)
Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
columnSeparator
- Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').public void setEscapeChar(String escapeChar)
Escape character can be one of
escapeChar
- Escape character can be one ofpublic String getEscapeChar()
Escape character can be one of
public CsvConfiguration withEscapeChar(String escapeChar)
Escape character can be one of
escapeChar
- Escape character can be one ofpublic void setQuoteChar(String quoteChar)
Can be single quote (') or double quote (").
quoteChar
- Can be single quote (') or double quote (").public String getQuoteChar()
Can be single quote (') or double quote (").
public CsvConfiguration withQuoteChar(String quoteChar)
Can be single quote (') or double quote (").
quoteChar
- Can be single quote (') or double quote (").public void setNullValue(String nullValue)
Can be blank space (' ').
nullValue
- Can be blank space (' ').public String getNullValue()
Can be blank space (' ').
public CsvConfiguration withNullValue(String nullValue)
Can be blank space (' ').
nullValue
- Can be blank space (' ').public void setTrimWhiteSpace(Boolean trimWhiteSpace)
Specifies to trim leading and trailing white space.
trimWhiteSpace
- Specifies to trim leading and trailing white space.public Boolean getTrimWhiteSpace()
Specifies to trim leading and trailing white space.
public CsvConfiguration withTrimWhiteSpace(Boolean trimWhiteSpace)
Specifies to trim leading and trailing white space.
trimWhiteSpace
- Specifies to trim leading and trailing white space.public Boolean isTrimWhiteSpace()
Specifies to trim leading and trailing white space.
public String toString()
toString
in class Object
Object.toString()
public CsvConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.