Interface OutboundEdiOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutboundEdiOptions.Builder,
,OutboundEdiOptions> SdkBuilder<OutboundEdiOptions.Builder,
,OutboundEdiOptions> SdkPojo
- Enclosing class:
OutboundEdiOptions
@Mutable
@NotThreadSafe
public static interface OutboundEdiOptions.Builder
extends SdkPojo, CopyableBuilder<OutboundEdiOptions.Builder,OutboundEdiOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutboundEdiOptions.Builder
x12
(Consumer<X12Envelope.Builder> x12) A structure that contains an X12 envelope structure.x12
(X12Envelope x12) A structure that contains an X12 envelope structure.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
-
x12
A structure that contains an X12 envelope structure.
- Parameters:
x12
- A structure that contains an X12 envelope structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
x12
A structure that contains an X12 envelope structure.
This is a convenience method that creates an instance of theX12Envelope.Builder
avoiding the need to create one manually viaX12Envelope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tox12(X12Envelope)
.- Parameters:
x12
- a consumer that will call methods onX12Envelope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-