public static interface CustomCode.Builder extends SdkPojo, CopyableBuilder<CustomCode.Builder,CustomCode>
| Modifier and Type | Method and Description |
|---|---|
CustomCode.Builder |
className(String className)
The name defined for the custom code node class.
|
CustomCode.Builder |
code(String code)
The custom code that is used to perform the data transformation.
|
CustomCode.Builder |
inputs(Collection<String> inputs)
The data inputs identified by their node names.
|
CustomCode.Builder |
inputs(String... inputs)
The data inputs identified by their node names.
|
CustomCode.Builder |
name(String name)
The name of the transform node.
|
CustomCode.Builder |
outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
|
CustomCode.Builder |
outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the custom code transform.
|
CustomCode.Builder |
outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom code transform.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomCode.Builder name(String name)
The name of the transform node.
name - The name of the transform node.CustomCode.Builder inputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs - The data inputs identified by their node names.CustomCode.Builder inputs(String... inputs)
The data inputs identified by their node names.
inputs - The data inputs identified by their node names.CustomCode.Builder code(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.CustomCode.Builder className(String className)
The name defined for the custom code node class.
className - The name defined for the custom code node class.CustomCode.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
outputSchemas - Specifies the data schema for the custom code transform.CustomCode.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom code transform.
outputSchemas - Specifies the data schema for the custom code transform.CustomCode.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the custom code transform.
This is a convenience method that creates an instance of theGlueSchema.Builder avoiding the need to create one
manually via GlueSchema.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #outputSchemas(List.
outputSchemas - a consumer that will call methods on
GlueSchema.Builder#outputSchemas(java.util.Collection) Copyright © 2023. All rights reserved.