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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
commonA 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.
 
- 
commonA 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 on- X12OutboundEdiHeaders.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
wrapOptionsSets 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.
 
- 
wrapOptionsSets 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 on- WrapOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-