Interface UpdateTransformerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<UpdateTransformerRequest.Builder,
,UpdateTransformerRequest> SdkBuilder<UpdateTransformerRequest.Builder,
,UpdateTransformerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTransformerRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateTransformerRequest.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
.mappingTemplate
(String mappingTemplate) Specifies the mapping template for the transformer.Specify a new name for the transformer, if you want to update it.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sampleDocument
(String sampleDocument) Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.Specifies the transformer's status.status
(TransformerStatus status) Specifies the transformer's status.transformerId
(String transformerId) Specifies the system-assigned unique identifier for the transformer.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, sdkFields
-
Method Details
-
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.
-
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:
-
mappingTemplate
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
- Parameters:
mappingTemplate
- Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.- 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
active
toinactive
, orinactive
toactive
.- Parameters:
status
- Specifies the transformer's status. You can update the state of the transformer, fromactive
toinactive
, orinactive
toactive
.- 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
active
toinactive
, orinactive
toactive
.- Parameters:
status
- Specifies the transformer's status. You can update the state of the transformer, fromactive
toinactive
, orinactive
toactive
.- 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:
-
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.
-
overrideConfiguration
UpdateTransformerRequest.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
UpdateTransformerRequest.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.
-