Interface CreateTransformerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<CreateTransformerRequest.Builder,
,CreateTransformerRequest> SdkBuilder<CreateTransformerRequest.Builder,
,CreateTransformerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTransformerRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Reserved for future use.default CreateTransformerRequest.Builder
ediType
(Consumer<EdiType.Builder> ediType) Deprecated.This is a legacy trait.Deprecated.This is a legacy trait.fileFormat
(String fileFormat) Deprecated.This is a legacy trait.fileFormat
(FileFormat fileFormat) Deprecated.This is a legacy trait.default CreateTransformerRequest.Builder
inputConversion
(Consumer<InputConversion.Builder> inputConversion) Specify theInputConversion
object, which contains the format options for the inbound transformation.inputConversion
(InputConversion inputConversion) Specify theInputConversion
object, which contains the format options for the inbound transformation.default CreateTransformerRequest.Builder
mapping
(Consumer<Mapping.Builder> mapping) Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).mappingTemplate
(String mappingTemplate) Deprecated.This is a legacy trait.Specifies the name of the transformer, used to identify it.default CreateTransformerRequest.Builder
outputConversion
(Consumer<OutputConversion.Builder> outputConversion) A structure that contains theOutputConversion
object, which contains the format options for the outbound transformation.outputConversion
(OutputConversion outputConversion) A structure that contains theOutputConversion
object, which contains the format options for the outbound transformation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sampleDocument
(String sampleDocument) Deprecated.This is a legacy trait.default CreateTransformerRequest.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.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.tags
(Collection<Tag> tags) Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.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.Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.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
-
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.
-
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
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- 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
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
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
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:
-
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 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:
-
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
Specify the
InputConversion
object, which contains the format options for the inbound transformation.- Parameters:
inputConversion
- Specify theInputConversion
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 CreateTransformerRequest.Builder inputConversion(Consumer<InputConversion.Builder> inputConversion) Specify the
This is a convenience method that creates an instance of theInputConversion
object, which contains the format options for the inbound transformation.InputConversion.Builder
avoiding the need to create one manually viaInputConversion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputConversion(InputConversion)
.- Parameters:
inputConversion
- a consumer that will call methods onInputConversion.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 theMapping.Builder
avoiding the need to create one manually viaMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomapping(Mapping)
.- Parameters:
mapping
- a consumer that will call methods onMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConversion
A structure that contains the
OutputConversion
object, which contains the format options for the outbound transformation.- Parameters:
outputConversion
- A structure that contains theOutputConversion
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 CreateTransformerRequest.Builder outputConversion(Consumer<OutputConversion.Builder> outputConversion) A structure that contains the
This is a convenience method that creates an instance of theOutputConversion
object, which contains the format options for the outbound transformation.OutputConversion.Builder
avoiding the need to create one manually viaOutputConversion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConversion(OutputConversion)
.- Parameters:
outputConversion
- a consumer that will call methods onOutputConversion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 CreateTransformerRequest.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 theSampleDocuments.Builder
avoiding the need to create one manually viaSampleDocuments.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosampleDocuments(SampleDocuments)
.- Parameters:
sampleDocuments
- a consumer that will call methods onSampleDocuments.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTransformerRequest.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
CreateTransformerRequest.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.
-