@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadSettings extends Object implements Serializable, Cloneable, StructuredPojo
Information about the format for a source file or files.
| Constructor and Description |
|---|
UploadSettings() |
| Modifier and Type | Method and Description |
|---|---|
UploadSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getContainsHeader()
Whether the file has a header row, or the files each have a header row.
|
String |
getDelimiter()
The delimiter between values in the file.
|
String |
getFormat()
File format.
|
Integer |
getStartFromRow()
A row number to start reading data from.
|
String |
getTextQualifier()
Text qualifier.
|
int |
hashCode() |
Boolean |
isContainsHeader()
Whether the file has a header row, or the files each have a header row.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContainsHeader(Boolean containsHeader)
Whether the file has a header row, or the files each have a header row.
|
void |
setDelimiter(String delimiter)
The delimiter between values in the file.
|
void |
setFormat(String format)
File format.
|
void |
setStartFromRow(Integer startFromRow)
A row number to start reading data from.
|
void |
setTextQualifier(String textQualifier)
Text qualifier.
|
String |
toString()
Returns a string representation of this object.
|
UploadSettings |
withContainsHeader(Boolean containsHeader)
Whether the file has a header row, or the files each have a header row.
|
UploadSettings |
withDelimiter(String delimiter)
The delimiter between values in the file.
|
UploadSettings |
withFormat(FileFormat format)
File format.
|
UploadSettings |
withFormat(String format)
File format.
|
UploadSettings |
withStartFromRow(Integer startFromRow)
A row number to start reading data from.
|
UploadSettings |
withTextQualifier(String textQualifier)
Text qualifier.
|
UploadSettings |
withTextQualifier(TextQualifier textQualifier)
Text qualifier.
|
public void setFormat(String format)
File format.
format - File format.FileFormatpublic String getFormat()
File format.
FileFormatpublic UploadSettings withFormat(String format)
File format.
format - File format.FileFormatpublic UploadSettings withFormat(FileFormat format)
File format.
format - File format.FileFormatpublic void setStartFromRow(Integer startFromRow)
A row number to start reading data from.
startFromRow - A row number to start reading data from.public Integer getStartFromRow()
A row number to start reading data from.
public UploadSettings withStartFromRow(Integer startFromRow)
A row number to start reading data from.
startFromRow - A row number to start reading data from.public void setContainsHeader(Boolean containsHeader)
Whether the file has a header row, or the files each have a header row.
containsHeader - Whether the file has a header row, or the files each have a header row.public Boolean getContainsHeader()
Whether the file has a header row, or the files each have a header row.
public UploadSettings withContainsHeader(Boolean containsHeader)
Whether the file has a header row, or the files each have a header row.
containsHeader - Whether the file has a header row, or the files each have a header row.public Boolean isContainsHeader()
Whether the file has a header row, or the files each have a header row.
public void setTextQualifier(String textQualifier)
Text qualifier.
textQualifier - Text qualifier.TextQualifierpublic String getTextQualifier()
Text qualifier.
TextQualifierpublic UploadSettings withTextQualifier(String textQualifier)
Text qualifier.
textQualifier - Text qualifier.TextQualifierpublic UploadSettings withTextQualifier(TextQualifier textQualifier)
Text qualifier.
textQualifier - Text qualifier.TextQualifierpublic void setDelimiter(String delimiter)
The delimiter between values in the file.
delimiter - The delimiter between values in the file.public String getDelimiter()
The delimiter between values in the file.
public UploadSettings withDelimiter(String delimiter)
The delimiter between values in the file.
delimiter - The delimiter between values in the file.public String toString()
toString in class ObjectObject.toString()public UploadSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.