Interface UpdateTransformerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<UpdateTransformerResponse.Builder,UpdateTransformerResponse>,SdkBuilder<UpdateTransformerResponse.Builder,UpdateTransformerResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateTransformerResponse
public static interface UpdateTransformerResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<UpdateTransformerResponse.Builder,UpdateTransformerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description UpdateTransformerResponse.BuildercreatedAt(Instant createdAt)Returns a timestamp for creation date and time of the transformer.default UpdateTransformerResponse.BuilderediType(Consumer<EdiType.Builder> ediType)Deprecated.This is a legacy trait.UpdateTransformerResponse.BuilderediType(EdiType ediType)Deprecated.This is a legacy trait.UpdateTransformerResponse.BuilderfileFormat(String fileFormat)Deprecated.This is a legacy trait.UpdateTransformerResponse.BuilderfileFormat(FileFormat fileFormat)Deprecated.This is a legacy trait.default UpdateTransformerResponse.BuilderinputConversion(Consumer<InputConversion.Builder> inputConversion)Returns theInputConversionobject, which contains the format options for the inbound transformation.UpdateTransformerResponse.BuilderinputConversion(InputConversion inputConversion)Returns theInputConversionobject, which contains the format options for the inbound transformation.default UpdateTransformerResponse.Buildermapping(Consumer<Mapping.Builder> mapping)Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).UpdateTransformerResponse.Buildermapping(Mapping mapping)Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).UpdateTransformerResponse.BuildermappingTemplate(String mappingTemplate)Deprecated.This is a legacy trait.UpdateTransformerResponse.BuildermodifiedAt(Instant modifiedAt)Returns a timestamp for last time the transformer was modified.UpdateTransformerResponse.Buildername(String name)Returns the name of the transformer.default UpdateTransformerResponse.BuilderoutputConversion(Consumer<OutputConversion.Builder> outputConversion)Returns theOutputConversionobject, which contains the format options for the outbound transformation.UpdateTransformerResponse.BuilderoutputConversion(OutputConversion outputConversion)Returns theOutputConversionobject, which contains the format options for the outbound transformation.UpdateTransformerResponse.BuildersampleDocument(String sampleDocument)Deprecated.This is a legacy trait.default UpdateTransformerResponse.BuildersampleDocuments(Consumer<SampleDocuments.Builder> sampleDocuments)Returns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.UpdateTransformerResponse.BuildersampleDocuments(SampleDocuments sampleDocuments)Returns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.UpdateTransformerResponse.Builderstatus(String status)Returns the state of the newly created transformer.UpdateTransformerResponse.Builderstatus(TransformerStatus status)Returns the state of the newly created transformer.UpdateTransformerResponse.BuildertransformerArn(String transformerArn)Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.UpdateTransformerResponse.BuildertransformerId(String transformerId)Returns the system-assigned unique identifier for the transformer.-
Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
transformerId
UpdateTransformerResponse.Builder transformerId(String transformerId)
Returns the system-assigned unique identifier for the transformer.
- Parameters:
transformerId- Returns the system-assigned unique identifier for the transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformerArn
UpdateTransformerResponse.Builder transformerArn(String transformerArn)
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
- Parameters:
transformerArn- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateTransformerResponse.Builder name(String name)
Returns the name of the transformer.
- Parameters:
name- Returns the name of the transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdateTransformerResponse.Builder status(String status)
Returns the state of the newly created transformer. The transformer can be either
activeorinactive. For the transformer to be used in a capability, its status mustactive.- Parameters:
status- Returns the state of the newly created transformer. The transformer can be eitheractiveorinactive. For the transformer to be used in a capability, its status mustactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransformerStatus,TransformerStatus
-
status
UpdateTransformerResponse.Builder status(TransformerStatus status)
Returns the state of the newly created transformer. The transformer can be either
activeorinactive. For the transformer to be used in a capability, its status mustactive.- Parameters:
status- Returns the state of the newly created transformer. The transformer can be eitheractiveorinactive. For the transformer to be used in a capability, its status mustactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransformerStatus,TransformerStatus
-
createdAt
UpdateTransformerResponse.Builder createdAt(Instant createdAt)
Returns a timestamp for creation date and time of the transformer.
- Parameters:
createdAt- Returns a timestamp for creation date and time of the transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
UpdateTransformerResponse.Builder modifiedAt(Instant modifiedAt)
Returns a timestamp for last time the transformer was modified.
- Parameters:
modifiedAt- Returns a timestamp for last time the transformer was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormat
@Deprecated UpdateTransformerResponse.Builder fileFormat(String fileFormat)
Deprecated.This is a legacy trait. Please use input-conversion or output-conversion.Returns that the currently supported file formats for EDI transformations are
JSONandXML.- Parameters:
fileFormat- Returns 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 UpdateTransformerResponse.Builder fileFormat(FileFormat fileFormat)
Deprecated.This is a legacy trait. Please use input-conversion or output-conversion.Returns that the currently supported file formats for EDI transformations are
JSONandXML.- Parameters:
fileFormat- Returns 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 UpdateTransformerResponse.Builder mappingTemplate(String mappingTemplate)
Deprecated.This is a legacy trait. Please use input-conversion or output-conversion.Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
- Parameters:
mappingTemplate- Returns 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.
-
ediType
@Deprecated UpdateTransformerResponse.Builder ediType(EdiType ediType)
Deprecated.This is a legacy trait. Please use input-conversion or output-conversion.Returns 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- Returns 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 UpdateTransformerResponse.Builder ediType(Consumer<EdiType.Builder> ediType)
Deprecated.This is a legacy trait. Please use input-conversion or output-conversion.Returns 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 UpdateTransformerResponse.Builder sampleDocument(String sampleDocument)
Deprecated.This is a legacy trait. Please use input-conversion or output-conversion.Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
- Parameters:
sampleDocument- Returns 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
UpdateTransformerResponse.Builder inputConversion(InputConversion inputConversion)
Returns the
InputConversionobject, which contains the format options for the inbound transformation.- Parameters:
inputConversion- Returns 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 UpdateTransformerResponse.Builder inputConversion(Consumer<InputConversion.Builder> inputConversion)
Returns 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
UpdateTransformerResponse.Builder mapping(Mapping mapping)
Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).
- Parameters:
mapping- Returns 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 UpdateTransformerResponse.Builder mapping(Consumer<Mapping.Builder> mapping)
Returns 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
UpdateTransformerResponse.Builder outputConversion(OutputConversion outputConversion)
Returns the
OutputConversionobject, which contains the format options for the outbound transformation.- Parameters:
outputConversion- Returns 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 UpdateTransformerResponse.Builder outputConversion(Consumer<OutputConversion.Builder> outputConversion)
Returns 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
UpdateTransformerResponse.Builder sampleDocuments(SampleDocuments sampleDocuments)
Returns 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- Returns 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 UpdateTransformerResponse.Builder sampleDocuments(Consumer<SampleDocuments.Builder> sampleDocuments)
Returns 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)
-
-