Interface GetTransformerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<GetTransformerResponse.Builder,GetTransformerResponse>,SdkBuilder<GetTransformerResponse.Builder,GetTransformerResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTransformerResponse
public static interface GetTransformerResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<GetTransformerResponse.Builder,GetTransformerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetTransformerResponse.BuildercreatedAt(Instant createdAt)Returns a timestamp for creation date and time of the transformer.default GetTransformerResponse.BuilderediType(Consumer<EdiType.Builder> ediType)Returns the details for the EDI standard that is being used for the transformer.GetTransformerResponse.BuilderediType(EdiType ediType)Returns the details for the EDI standard that is being used for the transformer.GetTransformerResponse.BuilderfileFormat(String fileFormat)Returns that the currently supported file formats for EDI transformations areJSONandXML.GetTransformerResponse.BuilderfileFormat(FileFormat fileFormat)Returns that the currently supported file formats for EDI transformations areJSONandXML.GetTransformerResponse.BuildermappingTemplate(String mappingTemplate)Returns the name of the mapping template for the transformer.GetTransformerResponse.BuildermodifiedAt(Instant modifiedAt)Returns a timestamp for last time the transformer was modified.GetTransformerResponse.Buildername(String name)Returns the name of the transformer, used to identify it.GetTransformerResponse.BuildersampleDocument(String sampleDocument)Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.GetTransformerResponse.Builderstatus(String status)Returns the state of the newly created transformer.GetTransformerResponse.Builderstatus(TransformerStatus status)Returns the state of the newly created transformer.GetTransformerResponse.BuildertransformerArn(String transformerArn)Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.Builder name(String name)
Returns the name of the transformer, used to identify it.
- Parameters:
name- Returns the name of the transformer, used to identify it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormat
GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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 GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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
GetTransformerResponse.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.
-
-