Interface OutboundEdiOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OutboundEdiOptions.Builder,,OutboundEdiOptions> SdkBuilder<OutboundEdiOptions.Builder,,OutboundEdiOptions> SdkPojo
- Enclosing class:
OutboundEdiOptions
public static interface OutboundEdiOptions.Builder
extends SdkPojo, CopyableBuilder<OutboundEdiOptions.Builder,OutboundEdiOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutboundEdiOptions.Builderx12(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaX12Envelope.builder().When the
Consumercompletes,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:
-