@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Csv extends Object implements Serializable, Cloneable, StructuredPojo
A .CSV file.
Constructor and Description |
---|
Csv() |
Modifier and Type | Method and Description |
---|---|
Csv |
clone() |
boolean |
equals(Object obj) |
List<String> |
getColumnNames()
The column names specified in the .csv file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnNames(Collection<String> columnNames)
The column names specified in the .csv file.
|
String |
toString()
Returns a string representation of this object.
|
Csv |
withColumnNames(Collection<String> columnNames)
The column names specified in the .csv file.
|
Csv |
withColumnNames(ColumnName... columnNames)
The column names specified in the .csv file.
|
Csv |
withColumnNames(String... columnNames)
The column names specified in the .csv file.
|
public List<String> getColumnNames()
The column names specified in the .csv file.
ColumnName
public void setColumnNames(Collection<String> columnNames)
The column names specified in the .csv file.
columnNames
- The column names specified in the .csv file.ColumnName
public Csv withColumnNames(String... columnNames)
The column names specified in the .csv file.
NOTE: This method appends the values to the existing list (if any). Use
setColumnNames(java.util.Collection)
or withColumnNames(java.util.Collection)
if you want to
override the existing values.
columnNames
- The column names specified in the .csv file.ColumnName
public Csv withColumnNames(Collection<String> columnNames)
The column names specified in the .csv file.
columnNames
- The column names specified in the .csv file.ColumnName
public Csv withColumnNames(ColumnName... columnNames)
The column names specified in the .csv file.
columnNames
- The column names specified in the .csv file.ColumnName
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.