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 Modifier and Type Method Description default UpdateTransformerRequest.BuilderediType(Consumer<EdiType.Builder> ediType)Specifies the details for the EDI standard that is being used for the transformer.UpdateTransformerRequest.BuilderediType(EdiType ediType)Specifies the details for the EDI standard that is being used for the transformer.UpdateTransformerRequest.BuilderfileFormat(String fileFormat)Specifies that the currently supported file formats for EDI transformations areJSONandXML.UpdateTransformerRequest.BuilderfileFormat(FileFormat fileFormat)Specifies that the currently supported file formats for EDI transformations areJSONandXML.UpdateTransformerRequest.BuildermappingTemplate(String mappingTemplate)Specifies the name of the mapping template for the transformer.UpdateTransformerRequest.Buildername(String name)Specify a new name for the transformer, if you want to update it.UpdateTransformerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTransformerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTransformerRequest.BuildersampleDocument(String sampleDocument)Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.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.
-
fileFormat
UpdateTransformerRequest.Builder fileFormat(String fileFormat)
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
UpdateTransformerRequest.Builder fileFormat(FileFormat fileFormat)
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
UpdateTransformerRequest.Builder mappingTemplate(String mappingTemplate)
Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
- Parameters:
mappingTemplate- Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.- 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
-
ediType
UpdateTransformerRequest.Builder ediType(EdiType 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
default UpdateTransformerRequest.Builder ediType(Consumer<EdiType.Builder> 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.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
UpdateTransformerRequest.Builder sampleDocument(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTransformerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-