@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CSVMappingParameters extends Object implements Serializable, Cloneable, StructuredPojo
Provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:
"name1", "address1"
"name2, "address2"
Constructor and Description |
---|
CSVMappingParameters() |
Modifier and Type | Method and Description |
---|---|
CSVMappingParameters |
clone() |
boolean |
equals(Object obj) |
String |
getRecordColumnDelimiter()
Column delimiter.
|
String |
getRecordRowDelimiter()
Row delimiter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecordColumnDelimiter(String recordColumnDelimiter)
Column delimiter.
|
void |
setRecordRowDelimiter(String recordRowDelimiter)
Row delimiter.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CSVMappingParameters |
withRecordColumnDelimiter(String recordColumnDelimiter)
Column delimiter.
|
CSVMappingParameters |
withRecordRowDelimiter(String recordRowDelimiter)
Row delimiter.
|
public void setRecordRowDelimiter(String recordRowDelimiter)
Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
recordRowDelimiter
- Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.public String getRecordRowDelimiter()
Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
public CSVMappingParameters withRecordRowDelimiter(String recordRowDelimiter)
Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
recordRowDelimiter
- Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.public void setRecordColumnDelimiter(String recordColumnDelimiter)
Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
recordColumnDelimiter
- Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.public String getRecordColumnDelimiter()
Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
public CSVMappingParameters withRecordColumnDelimiter(String recordColumnDelimiter)
Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
recordColumnDelimiter
- Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.public String toString()
toString
in class Object
Object.toString()
public CSVMappingParameters 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.