Interface OutputConversion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutputConversion.Builder,
,OutputConversion> SdkBuilder<OutputConversion.Builder,
,OutputConversion> SdkPojo
- Enclosing class:
OutputConversion
@Mutable
@NotThreadSafe
public static interface OutputConversion.Builder
extends SdkPojo, CopyableBuilder<OutputConversion.Builder,OutputConversion>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutputConversion.Builder
formatOptions
(Consumer<FormatOptions.Builder> formatOptions) A structure that contains the X12 transaction set and version for the transformer output.formatOptions
(FormatOptions formatOptions) A structure that contains the X12 transaction set and version for the transformer output.The format for the output from an outbound transformer: only X12 is currently supported.The format for the output from an outbound transformer: only X12 is currently supported.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, sdkFieldNameToField, sdkFields
-
Method Details
-
toFormat
The format for the output from an outbound transformer: only X12 is currently supported.
- Parameters:
toFormat
- The format for the output from an outbound transformer: only X12 is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toFormat
The format for the output from an outbound transformer: only X12 is currently supported.
- Parameters:
toFormat
- The format for the output from an outbound transformer: only X12 is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
formatOptions
A structure that contains the X12 transaction set and version for the transformer output.
- Parameters:
formatOptions
- A structure that contains the X12 transaction set and version for the transformer output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatOptions
A structure that contains the X12 transaction set and version for the transformer output.
This is a convenience method that creates an instance of theFormatOptions.Builder
avoiding the need to create one manually viaFormatOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toformatOptions(FormatOptions)
.- Parameters:
formatOptions
- a consumer that will call methods onFormatOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-