@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SelectFields extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that chooses the data property keys that you want to keep.
Constructor and Description |
---|
SelectFields() |
Modifier and Type | Method and Description |
---|---|
SelectFields |
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<List<String>> |
getPaths()
A JSON path to a variable in the data structure.
|
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 |
setPaths(Collection<List<String>> paths)
A JSON path to a variable in the data structure.
|
String |
toString()
Returns a string representation of this object.
|
SelectFields |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
SelectFields |
withInputs(String... inputs)
The data inputs identified by their node names.
|
SelectFields |
withName(String name)
The name of the transform node.
|
SelectFields |
withPaths(Collection<List<String>> paths)
A JSON path to a variable in the data structure.
|
SelectFields |
withPaths(List<String>... paths)
A JSON path to a variable in the data structure.
|
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 SelectFields 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 SelectFields 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 SelectFields withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public List<List<String>> getPaths()
A JSON path to a variable in the data structure.
public void setPaths(Collection<List<String>> paths)
A JSON path to a variable in the data structure.
paths
- A JSON path to a variable in the data structure.public SelectFields withPaths(List<String>... paths)
A JSON path to a variable in the data structure.
NOTE: This method appends the values to the existing list (if any). Use
setPaths(java.util.Collection)
or withPaths(java.util.Collection)
if you want to override the
existing values.
paths
- A JSON path to a variable in the data structure.public SelectFields withPaths(Collection<List<String>> paths)
A JSON path to a variable in the data structure.
paths
- A JSON path to a variable in the data structure.public String toString()
toString
in class Object
Object.toString()
public SelectFields clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.