Interface UpdateTransformerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,B2BiRequest.Builder,Buildable,CopyableBuilder<UpdateTransformerRequest.Builder,UpdateTransformerRequest>,SdkBuilder<UpdateTransformerRequest.Builder,UpdateTransformerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTransformerRequest
public static interface UpdateTransformerRequest.Builder extends B2BiRequest.Builder, SdkPojo, CopyableBuilder<UpdateTransformerRequest.Builder,UpdateTransformerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default UpdateTransformerRequest.BuilderediType(Consumer<EdiType.Builder> ediType)Deprecated.This is a legacy trait.UpdateTransformerRequest.BuilderediType(EdiType ediType)Deprecated.This is a legacy trait.UpdateTransformerRequest.BuilderfileFormat(String fileFormat)Deprecated.This is a legacy trait.UpdateTransformerRequest.BuilderfileFormat(FileFormat fileFormat)Deprecated.This is a legacy trait.default UpdateTransformerRequest.BuilderinputConversion(Consumer<InputConversion.Builder> inputConversion)To update, specify theInputConversionobject, which contains the format options for the inbound transformation.UpdateTransformerRequest.BuilderinputConversion(InputConversion inputConversion)To update, specify theInputConversionobject, which contains the format options for the inbound transformation.default UpdateTransformerRequest.Buildermapping(Consumer<Mapping.Builder> mapping)Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).UpdateTransformerRequest.Buildermapping(Mapping mapping)Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).UpdateTransformerRequest.BuildermappingTemplate(String mappingTemplate)Deprecated.This is a legacy trait.UpdateTransformerRequest.Buildername(String name)Specify a new name for the transformer, if you want to update it.default UpdateTransformerRequest.BuilderoutputConversion(Consumer<OutputConversion.Builder> outputConversion)To update, specify theOutputConversionobject, which contains the format options for the outbound transformation.UpdateTransformerRequest.BuilderoutputConversion(OutputConversion outputConversion)To update, specify theOutputConversionobject, which contains the format options for the outbound transformation.UpdateTransformerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTransformerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTransformerRequest.BuildersampleDocument(String sampleDocument)Deprecated.This is a legacy trait.default UpdateTransformerRequest.BuildersampleDocuments(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.UpdateTransformerRequest.BuildersampleDocuments(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.UpdateTransformerRequest.Builderstatus(String status)Specifies the transformer's status.UpdateTransformerRequest.Builderstatus(TransformerStatus status)Specifies the transformer's status.UpdateTransformerRequest.BuildertransformerId(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 Detail
-
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
UpdateTransformerRequest.Builder name(String 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
UpdateTransformerRequest.Builder status(String status)
Specifies the transformer's status. You can update the state of the transformer, from
activetoinactive, orinactivetoactive.- Parameters:
status- Specifies the transformer's status. You can update the state of the transformer, fromactivetoinactive, orinactivetoactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransformerStatus,TransformerStatus
-
status
UpdateTransformerRequest.Builder status(TransformerStatus status)
Specifies the transformer's status. You can update the state of the transformer, from
activetoinactive, orinactivetoactive.- Parameters:
status- Specifies the transformer's status. You can update the state of the transformer, fromactivetoinactive, orinactivetoactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransformerStatus,TransformerStatus
-
fileFormat
@Deprecated UpdateTransformerRequest.Builder fileFormat(String 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
JSONandXML.- Parameters:
fileFormat- Specifies that the currently supported file formats for EDI transformations areJSONandXML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FileFormat,FileFormat
-
fileFormat
@Deprecated UpdateTransformerRequest.Builder fileFormat(FileFormat 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
JSONandXML.- Parameters:
fileFormat- Specifies that the currently supported file formats for EDI transformations areJSONandXML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FileFormat,FileFormat
-
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 UpdateTransformerRequest.Builder ediType(EdiType 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 default UpdateTransformerRequest.Builder ediType(Consumer<EdiType.Builder> 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.Builderavoiding the need to create one manually viaEdiType.builder().When the
Consumercompletes,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:
ediType(EdiType)
-
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
InputConversionobject, which contains the format options for the inbound transformation.- Parameters:
inputConversion- To update, specify theInputConversionobject, 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
This is a convenience method that creates an instance of theInputConversionobject, which contains the format options for the inbound transformation.InputConversion.Builderavoiding the need to create one manually viaInputConversion.builder().When the
Consumercompletes,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:
inputConversion(InputConversion)
-
mapping
UpdateTransformerRequest.Builder mapping(Mapping 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
default UpdateTransformerRequest.Builder mapping(Consumer<Mapping.Builder> 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.Builderavoiding the need to create one manually viaMapping.builder().When the
Consumercompletes,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:
mapping(Mapping)
-
outputConversion
UpdateTransformerRequest.Builder outputConversion(OutputConversion outputConversion)
To update, specify the
OutputConversionobject, which contains the format options for the outbound transformation.- Parameters:
outputConversion- To update, specify theOutputConversionobject, 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
This is a convenience method that creates an instance of theOutputConversionobject, which contains the format options for the outbound transformation.OutputConversion.Builderavoiding the need to create one manually viaOutputConversion.builder().When the
Consumercompletes,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:
outputConversion(OutputConversion)
-
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 theSampleDocuments.Builderavoiding the need to create one manually viaSampleDocuments.builder().When the
Consumercompletes,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:
sampleDocuments(SampleDocuments)
-
overrideConfiguration
UpdateTransformerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTransformerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-