@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)
Marshalls this structured data using the given
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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.