Interface CreateTransformerRequest.Builder

    • Method Detail

      • name

        CreateTransformerRequest.Builder name​(String name)

        Specifies the name of the transformer, used to identify it.

        Parameters:
        name - Specifies the name of the transformer, used to identify it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileFormat

        CreateTransformerRequest.Builder fileFormat​(String fileFormat)

        Specifies that the currently supported file formats for EDI transformations are JSON and XML.

        Parameters:
        fileFormat - Specifies that the currently supported file formats for EDI transformations are JSON and XML.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FileFormat, FileFormat
      • fileFormat

        CreateTransformerRequest.Builder fileFormat​(FileFormat fileFormat)

        Specifies that the currently supported file formats for EDI transformations are JSON and XML.

        Parameters:
        fileFormat - Specifies that the currently supported file formats for EDI transformations are JSON and XML.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FileFormat, FileFormat
      • mappingTemplate

        CreateTransformerRequest.Builder mappingTemplate​(String mappingTemplate)

        Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

        Parameters:
        mappingTemplate - Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ediType

        CreateTransformerRequest.Builder ediType​(EdiType ediType)

        Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.

        Parameters:
        ediType - Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sampleDocument

        CreateTransformerRequest.Builder sampleDocument​(String sampleDocument)

        Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.

        Parameters:
        sampleDocument - Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateTransformerRequest.Builder clientToken​(String clientToken)

        Reserved for future use.

        Parameters:
        clientToken - Reserved for future use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateTransformerRequest.Builder tags​(Collection<Tag> tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        Parameters:
        tags - Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateTransformerRequest.Builder tags​(Tag... tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        Parameters:
        tags - Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateTransformerRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

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

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

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