Interface ConversionTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConversionTarget.Builder,
,ConversionTarget> SdkBuilder<ConversionTarget.Builder,
,ConversionTarget> SdkPojo
- Enclosing class:
ConversionTarget
-
Method Summary
Modifier and TypeMethodDescriptionfileFormat
(String fileFormat) Currently, only X12 format is supported.fileFormat
(ConversionTargetFormat fileFormat) Currently, only X12 format is supported.default ConversionTarget.Builder
formatDetails
(Consumer<ConversionTargetFormatDetails.Builder> formatDetails) A structure that contains the formatting details for the conversion target.formatDetails
(ConversionTargetFormatDetails formatDetails) A structure that contains the formatting details for the conversion target.default ConversionTarget.Builder
outputSampleFile
(Consumer<OutputSampleFileSource.Builder> outputSampleFile) Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntaxoutputSampleFile
(OutputSampleFileSource outputSampleFile) Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntaxMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
fileFormat
Currently, only X12 format is supported.
- Parameters:
fileFormat
- Currently, only X12 format is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
Currently, only X12 format is supported.
- Parameters:
fileFormat
- Currently, only X12 format is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
formatDetails
A structure that contains the formatting details for the conversion target.
- Parameters:
formatDetails
- A structure that contains the formatting details for the conversion target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatDetails
default ConversionTarget.Builder formatDetails(Consumer<ConversionTargetFormatDetails.Builder> formatDetails) A structure that contains the formatting details for the conversion target.
This is a convenience method that creates an instance of theConversionTargetFormatDetails.Builder
avoiding the need to create one manually viaConversionTargetFormatDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toformatDetails(ConversionTargetFormatDetails)
.- Parameters:
formatDetails
- a consumer that will call methods onConversionTargetFormatDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSampleFile
Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntax
- Parameters:
outputSampleFile
- Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntax- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSampleFile
default ConversionTarget.Builder outputSampleFile(Consumer<OutputSampleFileSource.Builder> outputSampleFile) Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntax
This is a convenience method that creates an instance of theOutputSampleFileSource.Builder
avoiding the need to create one manually viaOutputSampleFileSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSampleFile(OutputSampleFileSource)
.- Parameters:
outputSampleFile
- a consumer that will call methods onOutputSampleFileSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-