@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CsvOptions extends Object implements Serializable, Cloneable, StructuredPojo
Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.
Constructor and Description |
---|
CsvOptions() |
Modifier and Type | Method and Description |
---|---|
CsvOptions |
clone() |
boolean |
equals(Object obj) |
String |
getDelimiter()
A single character that specifies the delimiter being used in the CSV file.
|
Boolean |
getHeaderRow()
A variable that specifies whether the first row in the file is parsed as the header.
|
int |
hashCode() |
Boolean |
isHeaderRow()
A variable that specifies whether the first row in the file is parsed as the header.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDelimiter(String delimiter)
A single character that specifies the delimiter being used in the CSV file.
|
void |
setHeaderRow(Boolean headerRow)
A variable that specifies whether the first row in the file is parsed as the header.
|
String |
toString()
Returns a string representation of this object.
|
CsvOptions |
withDelimiter(String delimiter)
A single character that specifies the delimiter being used in the CSV file.
|
CsvOptions |
withHeaderRow(Boolean headerRow)
A variable that specifies whether the first row in the file is parsed as the header.
|
public void setDelimiter(String delimiter)
A single character that specifies the delimiter being used in the CSV file.
delimiter
- A single character that specifies the delimiter being used in the CSV file.public String getDelimiter()
A single character that specifies the delimiter being used in the CSV file.
public CsvOptions withDelimiter(String delimiter)
A single character that specifies the delimiter being used in the CSV file.
delimiter
- A single character that specifies the delimiter being used in the CSV file.public void setHeaderRow(Boolean headerRow)
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
headerRow
- A variable that specifies whether the first row in the file is parsed as the header. If this value is
false, column names are auto-generated.public Boolean getHeaderRow()
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
public CsvOptions withHeaderRow(Boolean headerRow)
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
headerRow
- A variable that specifies whether the first row in the file is parsed as the header. If this value is
false, column names are auto-generated.public Boolean isHeaderRow()
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
public String toString()
toString
in class Object
Object.toString()
public CsvOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.