@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JSONMappingParameters extends Object implements Serializable, Cloneable, StructuredPojo
Provides additional mapping information when JSON is the record format on the streaming source.
Constructor and Description |
---|
JSONMappingParameters() |
Modifier and Type | Method and Description |
---|---|
JSONMappingParameters |
clone() |
boolean |
equals(Object obj) |
String |
getRecordRowPath()
Path to the top-level parent that contains the records.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRecordRowPath(String recordRowPath)
Path to the top-level parent that contains the records.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JSONMappingParameters |
withRecordRowPath(String recordRowPath)
Path to the top-level parent that contains the records.
|
public void setRecordRowPath(String recordRowPath)
Path to the top-level parent that contains the records.
For example, consider the following JSON record:
In the RecordRowPath
, "$"
refers to the root and path "$.vehicle.Model"
refers to the specific "Model"
key in the JSON.
recordRowPath
- Path to the top-level parent that contains the records.
For example, consider the following JSON record:
In the RecordRowPath
, "$"
refers to the root and path
"$.vehicle.Model"
refers to the specific "Model"
key in the JSON.
public String getRecordRowPath()
Path to the top-level parent that contains the records.
For example, consider the following JSON record:
In the RecordRowPath
, "$"
refers to the root and path "$.vehicle.Model"
refers to the specific "Model"
key in the JSON.
For example, consider the following JSON record:
In the RecordRowPath
, "$"
refers to the root and path
"$.vehicle.Model"
refers to the specific "Model"
key in the JSON.
public JSONMappingParameters withRecordRowPath(String recordRowPath)
Path to the top-level parent that contains the records.
For example, consider the following JSON record:
In the RecordRowPath
, "$"
refers to the root and path "$.vehicle.Model"
refers to the specific "Model"
key in the JSON.
recordRowPath
- Path to the top-level parent that contains the records.
For example, consider the following JSON record:
In the RecordRowPath
, "$"
refers to the root and path
"$.vehicle.Model"
refers to the specific "Model"
key in the JSON.
public String toString()
toString
in class Object
Object.toString()
public JSONMappingParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.