Interface X12Envelope.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<X12Envelope.Builder,X12Envelope>,SdkBuilder<X12Envelope.Builder,X12Envelope>,SdkPojo
- Enclosing class:
- X12Envelope
public static interface X12Envelope.Builder extends SdkPojo, CopyableBuilder<X12Envelope.Builder,X12Envelope>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default X12Envelope.Buildercommon(Consumer<X12OutboundEdiHeaders.Builder> common)A container for the X12 outbound EDI headers.X12Envelope.Buildercommon(X12OutboundEdiHeaders common)A container for the X12 outbound EDI headers.-
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
-
common
X12Envelope.Builder common(X12OutboundEdiHeaders common)
A container for the X12 outbound EDI headers.
- Parameters:
common- A container for the X12 outbound EDI headers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
common
default X12Envelope.Builder common(Consumer<X12OutboundEdiHeaders.Builder> common)
A container for the X12 outbound EDI headers.
This is a convenience method that creates an instance of theX12OutboundEdiHeaders.Builderavoiding the need to create one manually viaX12OutboundEdiHeaders.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommon(X12OutboundEdiHeaders).- Parameters:
common- a consumer that will call methods onX12OutboundEdiHeaders.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
common(X12OutboundEdiHeaders)
-
-