@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputTransformer extends Object implements Serializable, Cloneable, StructuredPojo
Contains the parameters needed for you to provide custom input to a target based on one or more pieces of data extracted from the event.
Constructor and Description |
---|
InputTransformer() |
Modifier and Type | Method and Description |
---|---|
InputTransformer |
addInputPathsMapEntry(String key,
String value) |
InputTransformer |
clearInputPathsMapEntries()
Removes all the entries added into InputPathsMap.
|
InputTransformer |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getInputPathsMap()
Map of JSON paths to be extracted from the event.
|
String |
getInputTemplate()
Input template where you can use the values of the keys from
InputPathsMap to customize the data
sent to the target. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputPathsMap(Map<String,String> inputPathsMap)
Map of JSON paths to be extracted from the event.
|
void |
setInputTemplate(String inputTemplate)
Input template where you can use the values of the keys from
InputPathsMap to customize the data
sent to the target. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InputTransformer |
withInputPathsMap(Map<String,String> inputPathsMap)
Map of JSON paths to be extracted from the event.
|
InputTransformer |
withInputTemplate(String inputTemplate)
Input template where you can use the values of the keys from
InputPathsMap to customize the data
sent to the target. |
public Map<String,String> getInputPathsMap()
Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.
public void setInputPathsMap(Map<String,String> inputPathsMap)
Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.
inputPathsMap
- Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON
path. You must use JSON dot notation, not bracket notation.public InputTransformer withInputPathsMap(Map<String,String> inputPathsMap)
Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.
inputPathsMap
- Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON
path. You must use JSON dot notation, not bracket notation.public InputTransformer addInputPathsMapEntry(String key, String value)
public InputTransformer clearInputPathsMapEntries()
public void setInputTemplate(String inputTemplate)
Input template where you can use the values of the keys from InputPathsMap
to customize the data
sent to the target.
inputTemplate
- Input template where you can use the values of the keys from InputPathsMap
to customize the
data sent to the target.public String getInputTemplate()
Input template where you can use the values of the keys from InputPathsMap
to customize the data
sent to the target.
InputPathsMap
to customize the
data sent to the target.public InputTransformer withInputTemplate(String inputTemplate)
Input template where you can use the values of the keys from InputPathsMap
to customize the data
sent to the target.
inputTemplate
- Input template where you can use the values of the keys from InputPathsMap
to customize the
data sent to the target.public String toString()
toString
in class Object
Object.toString()
public InputTransformer 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.