Interface CustomCode.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomCode.Builder,CustomCode>
,SdkBuilder<CustomCode.Builder,CustomCode>
,SdkPojo
- Enclosing class:
- CustomCode
public static interface CustomCode.Builder extends SdkPojo, CopyableBuilder<CustomCode.Builder,CustomCode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String... inputs)
The data inputs identified by their node names.CustomCode.Builder
inputs(Collection<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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
CustomCode.Builder name(String name)
The name of the transform node.
- Parameters:
name
- The name of the transform node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
CustomCode.Builder inputs(Collection<String> inputs)
The data inputs identified by their node names.
- Parameters:
inputs
- The data inputs identified by their node names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
CustomCode.Builder inputs(String... inputs)
The data inputs identified by their node names.
- Parameters:
inputs
- The data inputs identified by their node names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
CustomCode.Builder code(String code)
The custom code that is used to perform the data transformation.
- Parameters:
code
- The custom code that is used to perform the data transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
className
CustomCode.Builder className(String className)
The name defined for the custom code node class.
- Parameters:
className
- The name defined for the custom code node class.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CustomCode.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom code transform.
- Parameters:
outputSchemas
- Specifies the data schema for the custom code transform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CustomCode.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom code transform.
- Parameters:
outputSchemas
- Specifies the data schema for the custom code transform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
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 viaGlueSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#outputSchemas(List
.) - Parameters:
outputSchemas
- a consumer that will call methods onGlueSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputSchemas(java.util.Collection
)
-
-