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 Details

    • build

      public TransformConfig 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 interface SmithyBuilder<TransformConfig>
      Returns:
      an instance of T
    • name

      public TransformConfig.Builder name(String name)
      Sets the required name.
      Parameters:
      name - Name of the transform.
      Returns:
      Returns the builder.
    • args

      public TransformConfig.Builder args(Node 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.