Interface TransformerSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransformerSummary.Builder,TransformerSummary>,SdkBuilder<TransformerSummary.Builder,TransformerSummary>,SdkPojo
- Enclosing class:
- TransformerSummary
public static interface TransformerSummary.Builder extends SdkPojo, CopyableBuilder<TransformerSummary.Builder,TransformerSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TransformerSummary.BuildercreatedAt(Instant createdAt)Returns a timestamp indicating when the transformer was created.default TransformerSummary.BuilderediType(Consumer<EdiType.Builder> ediType)Returns the details for the EDI standard that is being used for the transformer.TransformerSummary.BuilderediType(EdiType ediType)Returns the details for the EDI standard that is being used for the transformer.TransformerSummary.BuilderfileFormat(String fileFormat)Returns that the currently supported file formats for EDI transformations areJSONandXML.TransformerSummary.BuilderfileFormat(FileFormat fileFormat)Returns that the currently supported file formats for EDI transformations areJSONandXML.TransformerSummary.BuildermappingTemplate(String mappingTemplate)Returns the name of the mapping template for the transformer.TransformerSummary.BuildermodifiedAt(Instant modifiedAt)Returns a timestamp representing the date and time for the most recent change for the transformer object.TransformerSummary.Buildername(String name)Returns the descriptive name for the transformer.TransformerSummary.BuildersampleDocument(String sampleDocument)Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.TransformerSummary.Builderstatus(String status)Returns the state of the newly created transformer.TransformerSummary.Builderstatus(TransformerStatus status)Returns the state of the newly created transformer.TransformerSummary.BuildertransformerId(String transformerId)Returns the system-assigned unique identifier for the transformer.-
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
TransformerSummary.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.
-
name
TransformerSummary.Builder name(String name)
Returns the descriptive name for the transformer.
- Parameters:
name- Returns the descriptive name for the transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormat
TransformerSummary.Builder fileFormat(String fileFormat)
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
TransformerSummary.Builder fileFormat(FileFormat fileFormat)
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
TransformerSummary.Builder mappingTemplate(String mappingTemplate)
Returns 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- Returns 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
TransformerSummary.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
TransformerSummary.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
-
ediType
TransformerSummary.Builder ediType(EdiType 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.
- 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
default TransformerSummary.Builder ediType(Consumer<EdiType.Builder> 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.
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
TransformerSummary.Builder sampleDocument(String sampleDocument)
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.
-
createdAt
TransformerSummary.Builder createdAt(Instant createdAt)
Returns a timestamp indicating when the transformer was created. For example,
2023-07-20T19:58:44.624Z.- Parameters:
createdAt- Returns a timestamp indicating when the transformer was created. For example,2023-07-20T19:58:44.624Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
TransformerSummary.Builder modifiedAt(Instant modifiedAt)
Returns a timestamp representing the date and time for the most recent change for the transformer object.
- Parameters:
modifiedAt- Returns a timestamp representing the date and time for the most recent change for the transformer object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-