Interface UpdateTransformerRequest.Builder

  • Method Details

    • transformerId

      UpdateTransformerRequest.Builder transformerId(String transformerId)

      Specifies the system-assigned unique identifier for the transformer.

      Parameters:
      transformerId - Specifies the system-assigned unique identifier for the transformer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Specify a new name for the transformer, if you want to update it.

      Parameters:
      name - Specify a new name for the transformer, if you want to update it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Specifies the transformer's status. You can update the state of the transformer from inactive to active.

      Parameters:
      status - Specifies the transformer's status. You can update the state of the transformer from inactive to active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Specifies the transformer's status. You can update the state of the transformer from inactive to active.

      Parameters:
      status - Specifies the transformer's status. You can update the state of the transformer from inactive to active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileFormat

      Deprecated.
      This is a legacy trait. Please use input-conversion or output-conversion.

      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

      Deprecated.
      This is a legacy trait. Please use input-conversion or output-conversion.

      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:
    • mappingTemplate

      @Deprecated UpdateTransformerRequest.Builder mappingTemplate(String mappingTemplate)
      Deprecated.
      This is a legacy trait. Please use input-conversion or output-conversion.

      Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

      This parameter is available for backwards compatibility. Use the Mapping data type instead.

      Parameters:
      mappingTemplate - Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

      This parameter is available for backwards compatibility. Use the Mapping data type instead.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ediType

      Deprecated.
      This is a legacy trait. Please use input-conversion or output-conversion.

      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.
    • ediType

      Deprecated.
      This is a legacy trait. Please use input-conversion or output-conversion.

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ediType(EdiType).

      Parameters:
      ediType - a consumer that will call methods on EdiType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sampleDocument

      @Deprecated UpdateTransformerRequest.Builder sampleDocument(String sampleDocument)
      Deprecated.
      This is a legacy trait. Please use input-conversion or output-conversion.

      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.
    • inputConversion

      UpdateTransformerRequest.Builder inputConversion(InputConversion inputConversion)

      To update, specify the InputConversion object, which contains the format options for the inbound transformation.

      Parameters:
      inputConversion - To update, specify the InputConversion object, which contains the format options for the inbound transformation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConversion

      default UpdateTransformerRequest.Builder inputConversion(Consumer<InputConversion.Builder> inputConversion)

      To update, specify the InputConversion object, which contains the format options for the inbound transformation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputConversion(InputConversion).

      Parameters:
      inputConversion - a consumer that will call methods on InputConversion.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mapping

      Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).

      Parameters:
      mapping - Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mapping

      Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).

      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(Mapping).

      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:
    • outputConversion

      UpdateTransformerRequest.Builder outputConversion(OutputConversion outputConversion)

      To update, specify the OutputConversion object, which contains the format options for the outbound transformation.

      Parameters:
      outputConversion - To update, specify the OutputConversion object, which contains the format options for the outbound transformation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputConversion

      default UpdateTransformerRequest.Builder outputConversion(Consumer<OutputConversion.Builder> outputConversion)

      To update, specify the OutputConversion object, which contains the format options for the outbound transformation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputConversion(OutputConversion).

      Parameters:
      outputConversion - a consumer that will call methods on OutputConversion.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sampleDocuments

      UpdateTransformerRequest.Builder sampleDocuments(SampleDocuments sampleDocuments)

      Specify a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.

      Parameters:
      sampleDocuments - Specify a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleDocuments

      default UpdateTransformerRequest.Builder sampleDocuments(Consumer<SampleDocuments.Builder> sampleDocuments)

      Specify a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sampleDocuments(SampleDocuments).

      Parameters:
      sampleDocuments - a consumer that will call methods on SampleDocuments.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateTransformerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.