@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RenameField extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that renames a single data property key.
Constructor and Description |
---|
RenameField() |
Modifier and Type | Method and Description |
---|---|
RenameField |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInputs()
The data inputs identified by their node names.
|
String |
getName()
The name of the transform node.
|
List<String> |
getSourcePath()
A JSON path to a variable in the data structure for the source data.
|
List<String> |
getTargetPath()
A JSON path to a variable in the data structure for the target data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
void |
setName(String name)
The name of the transform node.
|
void |
setSourcePath(Collection<String> sourcePath)
A JSON path to a variable in the data structure for the source data.
|
void |
setTargetPath(Collection<String> targetPath)
A JSON path to a variable in the data structure for the target data.
|
String |
toString()
Returns a string representation of this object.
|
RenameField |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
RenameField |
withInputs(String... inputs)
The data inputs identified by their node names.
|
RenameField |
withName(String name)
The name of the transform node.
|
RenameField |
withSourcePath(Collection<String> sourcePath)
A JSON path to a variable in the data structure for the source data.
|
RenameField |
withSourcePath(String... sourcePath)
A JSON path to a variable in the data structure for the source data.
|
RenameField |
withTargetPath(Collection<String> targetPath)
A JSON path to a variable in the data structure for the target data.
|
RenameField |
withTargetPath(String... targetPath)
A JSON path to a variable in the data structure for the target data.
|
public void setName(String name)
The name of the transform node.
name
- The name of the transform node.public String getName()
The name of the transform node.
public RenameField withName(String name)
The name of the transform node.
name
- The name of the transform node.public List<String> getInputs()
The data inputs identified by their node names.
public void setInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public RenameField withInputs(String... inputs)
The data inputs identified by their node names.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The data inputs identified by their node names.public RenameField withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public List<String> getSourcePath()
A JSON path to a variable in the data structure for the source data.
public void setSourcePath(Collection<String> sourcePath)
A JSON path to a variable in the data structure for the source data.
sourcePath
- A JSON path to a variable in the data structure for the source data.public RenameField withSourcePath(String... sourcePath)
A JSON path to a variable in the data structure for the source data.
NOTE: This method appends the values to the existing list (if any). Use
setSourcePath(java.util.Collection)
or withSourcePath(java.util.Collection)
if you want to
override the existing values.
sourcePath
- A JSON path to a variable in the data structure for the source data.public RenameField withSourcePath(Collection<String> sourcePath)
A JSON path to a variable in the data structure for the source data.
sourcePath
- A JSON path to a variable in the data structure for the source data.public List<String> getTargetPath()
A JSON path to a variable in the data structure for the target data.
public void setTargetPath(Collection<String> targetPath)
A JSON path to a variable in the data structure for the target data.
targetPath
- A JSON path to a variable in the data structure for the target data.public RenameField withTargetPath(String... targetPath)
A JSON path to a variable in the data structure for the target data.
NOTE: This method appends the values to the existing list (if any). Use
setTargetPath(java.util.Collection)
or withTargetPath(java.util.Collection)
if you want to
override the existing values.
targetPath
- A JSON path to a variable in the data structure for the target data.public RenameField withTargetPath(Collection<String> targetPath)
A JSON path to a variable in the data structure for the target data.
targetPath
- A JSON path to a variable in the data structure for the target data.public String toString()
toString
in class Object
Object.toString()
public RenameField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.