Interface ApplyMapping.Builder

    • Method Detail

      • name

        ApplyMapping.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

        ApplyMapping.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

        ApplyMapping.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.
      • mapping

        ApplyMapping.Builder mapping​(Collection<Mapping> mapping)

        Specifies the mapping of data property keys in the data source to data property keys in the data target.

        Parameters:
        mapping - Specifies the mapping of data property keys in the data source to data property keys in the data target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mapping

        ApplyMapping.Builder mapping​(Mapping... mapping)

        Specifies the mapping of data property keys in the data source to data property keys in the data target.

        Parameters:
        mapping - Specifies the mapping of data property keys in the data source to data property keys in the data target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mapping

        ApplyMapping.Builder mapping​(Consumer<Mapping.Builder>... mapping)

        Specifies the mapping of data property keys in the data source to data property keys in the data target.

        This is a convenience method that creates an instance of the Mapping.Builder avoiding the need to create one manually via Mapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #mapping(List).

        Parameters:
        mapping - a consumer that will call methods on Mapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #mapping(java.util.Collection)