Interface X12Envelope.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<X12Envelope.Builder,,X12Envelope> SdkBuilder<X12Envelope.Builder,,X12Envelope> SdkPojo
- Enclosing class:
X12Envelope
@Mutable
@NotThreadSafe
public static interface X12Envelope.Builder
extends SdkPojo, CopyableBuilder<X12Envelope.Builder,X12Envelope>
-
Method Summary
Modifier and TypeMethodDescriptiondefault X12Envelope.Buildercommon(Consumer<X12OutboundEdiHeaders.Builder> common) A container for the X12 outbound EDI headers.common(X12OutboundEdiHeaders common) A container for the X12 outbound EDI headers.default X12Envelope.BuilderwrapOptions(Consumer<WrapOptions.Builder> wrapOptions) Sets the value of the WrapOptions property for this object.wrapOptions(WrapOptions wrapOptions) Sets the value of the WrapOptions property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
wrapOptions
Sets the value of the WrapOptions property for this object.- Parameters:
wrapOptions- The new value for the WrapOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrapOptions
Sets the value of the WrapOptions property for this object. This is a convenience method that creates an instance of theWrapOptions.Builderavoiding the need to create one manually viaWrapOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towrapOptions(WrapOptions).- Parameters:
wrapOptions- a consumer that will call methods onWrapOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-