Interface TestParsingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<TestParsingRequest.Builder,
,TestParsingRequest> SdkBuilder<TestParsingRequest.Builder,
,TestParsingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
TestParsingRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault TestParsingRequest.Builder
advancedOptions
(Consumer<AdvancedOptions.Builder> advancedOptions) Specifies advanced options for parsing the input EDI file.advancedOptions
(AdvancedOptions advancedOptions) Specifies advanced options for parsing the input EDI file.default TestParsingRequest.Builder
ediType
(Consumer<EdiType.Builder> ediType) Specifies the details for the EDI standard that is being used for the transformer.Specifies the details for the EDI standard that is being used for the transformer.fileFormat
(String fileFormat) Specifies that the currently supported file formats for EDI transformations areJSON
andXML
.fileFormat
(FileFormat fileFormat) Specifies that the currently supported file formats for EDI transformations areJSON
andXML
.default TestParsingRequest.Builder
inputFile
(Consumer<S3Location.Builder> inputFile) Specifies anS3Location
object, which contains the Amazon S3 bucket and prefix for the location of the input file.inputFile
(S3Location inputFile) Specifies anS3Location
object, which contains the Amazon S3 bucket and prefix for the location of the input file.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
inputFile
Specifies an
S3Location
object, which contains the Amazon S3 bucket and prefix for the location of the input file.- Parameters:
inputFile
- Specifies anS3Location
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
Specifies an
This is a convenience method that creates an instance of theS3Location
object, which contains the Amazon S3 bucket and prefix for the location of the input file.S3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputFile(S3Location)
.- Parameters:
inputFile
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
Specifies that the currently supported file formats for EDI transformations are
JSON
andXML
.- Parameters:
fileFormat
- Specifies that the currently supported file formats for EDI transformations areJSON
andXML
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
Specifies that the currently supported file formats for EDI transformations are
JSON
andXML
.- Parameters:
fileFormat
- Specifies that the currently supported file formats for EDI transformations areJSON
andXML
.- 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 theEdiType.Builder
avoiding the need to create one manually viaEdiType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toediType(EdiType)
.- Parameters:
ediType
- a consumer that will call methods onEdiType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theAdvancedOptions.Builder
avoiding the need to create one manually viaAdvancedOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedOptions(AdvancedOptions)
.- Parameters:
advancedOptions
- a consumer that will call methods onAdvancedOptions.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
TestParsingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-