@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplyMapping extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that maps data property keys in the data source to data property keys in the data target. You can rename keys, modify the data types for keys, and choose which keys to drop from the dataset.
Constructor and Description |
---|
ApplyMapping() |
Modifier and Type | Method and Description |
---|---|
ApplyMapping |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInputs()
The data inputs identified by their node names.
|
List<Mapping> |
getMapping()
Specifies the mapping of data property keys in the data source to data property keys in the data target.
|
String |
getName()
The name of the transform node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
void |
setMapping(Collection<Mapping> mapping)
Specifies the mapping of data property keys in the data source to data property keys in the data target.
|
void |
setName(String name)
The name of the transform node.
|
String |
toString()
Returns a string representation of this object.
|
ApplyMapping |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
ApplyMapping |
withInputs(String... inputs)
The data inputs identified by their node names.
|
ApplyMapping |
withMapping(Collection<Mapping> mapping)
Specifies the mapping of data property keys in the data source to data property keys in the data target.
|
ApplyMapping |
withMapping(Mapping... mapping)
Specifies the mapping of data property keys in the data source to data property keys in the data target.
|
ApplyMapping |
withName(String name)
The name of the transform node.
|
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 ApplyMapping 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 ApplyMapping 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 ApplyMapping withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public List<Mapping> getMapping()
Specifies the mapping of data property keys in the data source to data property keys in the data target.
public void setMapping(Collection<Mapping> mapping)
Specifies the mapping of data property keys in the data source to data property keys in the data target.
mapping
- Specifies the mapping of data property keys in the data source to data property keys in the data target.public ApplyMapping withMapping(Mapping... mapping)
Specifies the mapping of data property keys in the data source to data property keys in the data target.
NOTE: This method appends the values to the existing list (if any). Use
setMapping(java.util.Collection)
or withMapping(java.util.Collection)
if you want to override
the existing values.
mapping
- Specifies the mapping of data property keys in the data source to data property keys in the data target.public ApplyMapping withMapping(Collection<Mapping> mapping)
Specifies the mapping of data property keys in the data source to data property keys in the data target.
mapping
- Specifies the mapping of data property keys in the data source to data property keys in the data target.public String toString()
toString
in class Object
Object.toString()
public ApplyMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.