@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JsonFormatDescriptor extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about how a source JSON data file should be analyzed.
Constructor and Description |
---|
JsonFormatDescriptor() |
Modifier and Type | Method and Description |
---|---|
JsonFormatDescriptor |
clone() |
boolean |
equals(Object obj) |
String |
getCharset()
The character set in which the source JSON file is written.
|
String |
getFileCompression()
The level of compression of the source CSV file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCharset(String charset)
The character set in which the source JSON file is written.
|
void |
setFileCompression(String fileCompression)
The level of compression of the source CSV file.
|
String |
toString()
Returns a string representation of this object.
|
JsonFormatDescriptor |
withCharset(String charset)
The character set in which the source JSON file is written.
|
JsonFormatDescriptor |
withFileCompression(JsonFileCompression fileCompression)
The level of compression of the source CSV file.
|
JsonFormatDescriptor |
withFileCompression(String fileCompression)
The level of compression of the source CSV file.
|
public void setFileCompression(String fileCompression)
The level of compression of the source CSV file.
fileCompression
- The level of compression of the source CSV file.JsonFileCompression
public String getFileCompression()
The level of compression of the source CSV file.
JsonFileCompression
public JsonFormatDescriptor withFileCompression(String fileCompression)
The level of compression of the source CSV file.
fileCompression
- The level of compression of the source CSV file.JsonFileCompression
public JsonFormatDescriptor withFileCompression(JsonFileCompression fileCompression)
The level of compression of the source CSV file.
fileCompression
- The level of compression of the source CSV file.JsonFileCompression
public void setCharset(String charset)
The character set in which the source JSON file is written.
charset
- The character set in which the source JSON file is written.public String getCharset()
The character set in which the source JSON file is written.
public JsonFormatDescriptor withCharset(String charset)
The character set in which the source JSON file is written.
charset
- The character set in which the source JSON file is written.public String toString()
toString
in class Object
Object.toString()
public JsonFormatDescriptor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.