@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DropFields extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that chooses the data property keys that you want to drop.
Constructor and Description |
---|
DropFields() |
Modifier and Type | Method and Description |
---|---|
DropFields |
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.
|
DropFields |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
DropFields |
withInputs(String... inputs)
The data inputs identified by their node names.
|
DropFields |
withName(String name)
The name of the transform node.
|
DropFields |
withPaths(Collection<List<String>> paths)
A JSON path to a variable in the data structure.
|
DropFields |
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 DropFields 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 DropFields 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 DropFields 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 DropFields 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 DropFields 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 DropFields clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.