Class TransformConfig.Builder
java.lang.Object
software.amazon.smithy.build.model.TransformConfig.Builder
- All Implemented Interfaces:
SmithyBuilder<TransformConfig>
- Enclosing class:
- TransformConfig
public static final class TransformConfig.Builder
extends Object
implements SmithyBuilder<TransformConfig>
-
Method Summary
Modifier and TypeMethodDescriptionSets the args of the transform.build()
Creates an immutable object that is created from the properties that have been set on the builder.Sets the required name.
-
Method Details
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<TransformConfig>
- Returns:
- an instance of T
-
name
Sets the required name.- Parameters:
name
- Name of the transform.- Returns:
- Returns the builder.
-
args
Sets the args of the transform.If an array is provided, the array is automatically converted to an object with a key named "__args" that contains the array. This is a backward compatibility shim for older versions of Smithy Builder that only accepts a list of strings for projection transforms.
- Parameters:
args
- Arguments to set.- Returns:
- Returns the builder.
-