Class TransformConfig.Builder

    • Method Summary

      Modifier and Type Method Description
      TransformConfig.Builder args​(Node args)
      Sets the args of the transform.
      TransformConfig build()
      Creates an immutable object that is created from the properties that have been set on the builder.
      TransformConfig.Builder name​(java.lang.String name)
      Sets the required name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • name

        public TransformConfig.Builder name​(java.lang.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.