Interface TestParsingRequest.Builder

  • Method Details

    • inputFile

      TestParsingRequest.Builder inputFile(S3Location inputFile)

      Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.

      Parameters:
      inputFile - Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputFile

      default TestParsingRequest.Builder inputFile(Consumer<S3Location.Builder> inputFile)

      Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.

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

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

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

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

      TestParsingRequest.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:
    • 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.
    • 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.

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

      TestParsingRequest.Builder advancedOptions(AdvancedOptions advancedOptions)

      Specifies advanced options for parsing the input EDI file. These options allow for more granular control over the parsing process, including split options for X12 files.

      Parameters:
      advancedOptions - Specifies advanced options for parsing the input EDI file. These options allow for more granular control over the parsing process, including split options for X12 files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedOptions

      default TestParsingRequest.Builder advancedOptions(Consumer<AdvancedOptions.Builder> advancedOptions)

      Specifies advanced options for parsing the input EDI file. These options allow for more granular control over the parsing process, including split options for X12 files.

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

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

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

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