Class CfnPartnership.X12EnvelopeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnPartnership.X12EnvelopeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnership.X12EnvelopeProperty>
- Enclosing interface:
CfnPartnership.X12EnvelopeProperty
@Stability(Stable)
public static final class CfnPartnership.X12EnvelopeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnership.X12EnvelopeProperty>
A builder for
CfnPartnership.X12EnvelopeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.common(IResolvable common) Sets the value ofCfnPartnership.X12EnvelopeProperty.getCommon()Sets the value ofCfnPartnership.X12EnvelopeProperty.getCommon()wrapOptions(IResolvable wrapOptions) Sets the value ofCfnPartnership.X12EnvelopeProperty.getWrapOptions()wrapOptions(CfnPartnership.WrapOptionsProperty wrapOptions) Sets the value ofCfnPartnership.X12EnvelopeProperty.getWrapOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
common
Sets the value ofCfnPartnership.X12EnvelopeProperty.getCommon()- Parameters:
common- A container for the X12 outbound EDI headers.- Returns:
this
-
common
@Stability(Stable) public CfnPartnership.X12EnvelopeProperty.Builder common(CfnPartnership.X12OutboundEdiHeadersProperty common) Sets the value ofCfnPartnership.X12EnvelopeProperty.getCommon()- Parameters:
common- A container for the X12 outbound EDI headers.- Returns:
this
-
wrapOptions
@Stability(Stable) public CfnPartnership.X12EnvelopeProperty.Builder wrapOptions(IResolvable wrapOptions) Sets the value ofCfnPartnership.X12EnvelopeProperty.getWrapOptions()- Parameters:
wrapOptions- the value to be set.- Returns:
this
-
wrapOptions
@Stability(Stable) public CfnPartnership.X12EnvelopeProperty.Builder wrapOptions(CfnPartnership.WrapOptionsProperty wrapOptions) Sets the value ofCfnPartnership.X12EnvelopeProperty.getWrapOptions()- Parameters:
wrapOptions- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnership.X12EnvelopeProperty>- Returns:
- a new instance of
CfnPartnership.X12EnvelopeProperty - Throws:
NullPointerException- if any required attribute was not provided
-