Interface ConversionTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConversionTarget.Builder,ConversionTarget>,SdkBuilder<ConversionTarget.Builder,ConversionTarget>,SdkPojo
- Enclosing class:
- ConversionTarget
public static interface ConversionTarget.Builder extends SdkPojo, CopyableBuilder<ConversionTarget.Builder,ConversionTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConversionTarget.BuilderfileFormat(String fileFormat)Currently, only X12 format is supported.ConversionTarget.BuilderfileFormat(ConversionTargetFormat fileFormat)Currently, only X12 format is supported.default ConversionTarget.BuilderformatDetails(Consumer<ConversionTargetFormatDetails.Builder> formatDetails)A structure that contains the formatting details for the conversion target.ConversionTarget.BuilderformatDetails(ConversionTargetFormatDetails formatDetails)A structure that contains the formatting details for the conversion target.default ConversionTarget.BuilderoutputSampleFile(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 syntaxConversionTarget.BuilderoutputSampleFile(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 syntax-
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
-
fileFormat
ConversionTarget.Builder fileFormat(String 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:
ConversionTargetFormat,ConversionTargetFormat
-
fileFormat
ConversionTarget.Builder fileFormat(ConversionTargetFormat 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:
ConversionTargetFormat,ConversionTargetFormat
-
formatDetails
ConversionTarget.Builder formatDetails(ConversionTargetFormatDetails 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.Builderavoiding the need to create one manually viaConversionTargetFormatDetails.builder().When the
Consumercompletes,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:
formatDetails(ConversionTargetFormatDetails)
-
outputSampleFile
ConversionTarget.Builder outputSampleFile(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 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.Builderavoiding the need to create one manually viaOutputSampleFileSource.builder().When the
Consumercompletes,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:
outputSampleFile(OutputSampleFileSource)
-
-