@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CsvOptions extends Object implements Serializable, Cloneable, StructuredPojo
Processing options for the CSV file being imported.
Constructor and Description |
---|
CsvOptions() |
Modifier and Type | Method and Description |
---|---|
CsvOptions |
clone() |
boolean |
equals(Object obj) |
String |
getDelimiter()
The delimiter used for separating items in the CSV file being imported.
|
List<String> |
getHeaderList()
List of the headers used to specify a common header for all source CSV files being imported.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDelimiter(String delimiter)
The delimiter used for separating items in the CSV file being imported.
|
void |
setHeaderList(Collection<String> headerList)
List of the headers used to specify a common header for all source CSV files being imported.
|
String |
toString()
Returns a string representation of this object.
|
CsvOptions |
withDelimiter(String delimiter)
The delimiter used for separating items in the CSV file being imported.
|
CsvOptions |
withHeaderList(Collection<String> headerList)
List of the headers used to specify a common header for all source CSV files being imported.
|
CsvOptions |
withHeaderList(String... headerList)
List of the headers used to specify a common header for all source CSV files being imported.
|
public void setDelimiter(String delimiter)
The delimiter used for separating items in the CSV file being imported.
delimiter
- The delimiter used for separating items in the CSV file being imported.public String getDelimiter()
The delimiter used for separating items in the CSV file being imported.
public CsvOptions withDelimiter(String delimiter)
The delimiter used for separating items in the CSV file being imported.
delimiter
- The delimiter used for separating items in the CSV file being imported.public List<String> getHeaderList()
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
public void setHeaderList(Collection<String> headerList)
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
headerList
- List of the headers used to specify a common header for all source CSV files being imported. If this field
is specified then the first line of each CSV file is treated as data instead of the header. If this field
is not specified the the first line of each CSV file is treated as the header.public CsvOptions withHeaderList(String... headerList)
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
NOTE: This method appends the values to the existing list (if any). Use
setHeaderList(java.util.Collection)
or withHeaderList(java.util.Collection)
if you want to
override the existing values.
headerList
- List of the headers used to specify a common header for all source CSV files being imported. If this field
is specified then the first line of each CSV file is treated as data instead of the header. If this field
is not specified the the first line of each CSV file is treated as the header.public CsvOptions withHeaderList(Collection<String> headerList)
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
headerList
- List of the headers used to specify a common header for all source CSV files being imported. If this field
is specified then the first line of each CSV file is treated as data instead of the header. If this field
is not specified the the first line of each CSV file is treated as the header.public String toString()
toString
in class Object
Object.toString()
public CsvOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.