@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileFormat extends Object implements Serializable, Cloneable, StructuredPojo
The file format of the data in S3.
Constructor and Description |
---|
FileFormat() |
Modifier and Type | Method and Description |
---|---|
FileFormat |
clone() |
boolean |
equals(Object obj) |
Csv |
getCsv()
The file is in .CSV format.
|
Parquet |
getParquet()
The file is in parquet format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCsv(Csv csv)
The file is in .CSV format.
|
void |
setParquet(Parquet parquet)
The file is in parquet format.
|
String |
toString()
Returns a string representation of this object.
|
FileFormat |
withCsv(Csv csv)
The file is in .CSV format.
|
FileFormat |
withParquet(Parquet parquet)
The file is in parquet format.
|
public void setCsv(Csv csv)
The file is in .CSV format.
csv
- The file is in .CSV format.public Csv getCsv()
The file is in .CSV format.
public FileFormat withCsv(Csv csv)
The file is in .CSV format.
csv
- The file is in .CSV format.public void setParquet(Parquet parquet)
The file is in parquet format.
parquet
- The file is in parquet format.public Parquet getParquet()
The file is in parquet format.
public FileFormat withParquet(Parquet parquet)
The file is in parquet format.
parquet
- The file is in parquet format.public String toString()
toString
in class Object
Object.toString()
public FileFormat clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.