@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) |
void |
setRecordColumnDelimiter(String recordColumnDelimiter)
Column delimiter.
|
void |
setRecordRowDelimiter(String recordRowDelimiter)
Row delimiter.
|
String |
toString()
Returns a string representation of this object.
|
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)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.