@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomCode extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that uses custom code you provide to perform the data transformation. The output is a collection of DynamicFrames.
Constructor and Description |
---|
CustomCode() |
Modifier and Type | Method and Description |
---|---|
CustomCode |
clone() |
boolean |
equals(Object obj) |
String |
getClassName()
The name defined for the custom code node class.
|
String |
getCode()
The custom code that is used to perform the data transformation.
|
List<String> |
getInputs()
The data inputs identified by their node names.
|
String |
getName()
The name of the transform node.
|
List<GlueSchema> |
getOutputSchemas()
Specifies the data schema for the custom code transform.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassName(String className)
The name defined for the custom code node class.
|
void |
setCode(String code)
The custom code that is used to perform the data transformation.
|
void |
setInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
void |
setName(String name)
The name of the transform node.
|
void |
setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
|
String |
toString()
Returns a string representation of this object.
|
CustomCode |
withClassName(String className)
The name defined for the custom code node class.
|
CustomCode |
withCode(String code)
The custom code that is used to perform the data transformation.
|
CustomCode |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
CustomCode |
withInputs(String... inputs)
The data inputs identified by their node names.
|
CustomCode |
withName(String name)
The name of the transform node.
|
CustomCode |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
|
CustomCode |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom code transform.
|
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 CustomCode 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 CustomCode 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 CustomCode withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public void setCode(String code)
The custom code that is used to perform the data transformation.
code
- The custom code that is used to perform the data transformation.public String getCode()
The custom code that is used to perform the data transformation.
public CustomCode withCode(String code)
The custom code that is used to perform the data transformation.
code
- The custom code that is used to perform the data transformation.public void setClassName(String className)
The name defined for the custom code node class.
className
- The name defined for the custom code node class.public String getClassName()
The name defined for the custom code node class.
public CustomCode withClassName(String className)
The name defined for the custom code node class.
className
- The name defined for the custom code node class.public List<GlueSchema> getOutputSchemas()
Specifies the data schema for the custom code transform.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
outputSchemas
- Specifies the data schema for the custom code transform.public CustomCode withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom code transform.
NOTE: This method appends the values to the existing list (if any). Use
setOutputSchemas(java.util.Collection)
or withOutputSchemas(java.util.Collection)
if you want
to override the existing values.
outputSchemas
- Specifies the data schema for the custom code transform.public CustomCode withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
outputSchemas
- Specifies the data schema for the custom code transform.public String toString()
toString
in class Object
Object.toString()
public CustomCode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.