Class CfnPartnershipPropsMixin.WrapOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.b2bi.mixins.CfnPartnershipPropsMixin.WrapOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnershipPropsMixin.WrapOptionsProperty>
- Enclosing interface:
CfnPartnershipPropsMixin.WrapOptionsProperty
@Stability(Stable)
public static final class CfnPartnershipPropsMixin.WrapOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnershipPropsMixin.WrapOptionsProperty>
A builder for
CfnPartnershipPropsMixin.WrapOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lineLength(Number lineLength) Sets the value ofCfnPartnershipPropsMixin.WrapOptionsProperty.getLineLength()lineTerminator(String lineTerminator) Sets the value ofCfnPartnershipPropsMixin.WrapOptionsProperty.getLineTerminator()Sets the value ofCfnPartnershipPropsMixin.WrapOptionsProperty.getWrapBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lineLength
@Stability(Stable) public CfnPartnershipPropsMixin.WrapOptionsProperty.Builder lineLength(Number lineLength) Sets the value ofCfnPartnershipPropsMixin.WrapOptionsProperty.getLineLength()- Parameters:
lineLength- Specifies the maximum length of a line before wrapping occurs. This value is used whenwrapByis set toLINE_LENGTH.- Returns:
this
-
lineTerminator
@Stability(Stable) public CfnPartnershipPropsMixin.WrapOptionsProperty.Builder lineTerminator(String lineTerminator) Sets the value ofCfnPartnershipPropsMixin.WrapOptionsProperty.getLineTerminator()- Parameters:
lineTerminator- Specifies the character sequence used to terminate lines when wrapping. Valid values:.CRLF: carriage return and line feedLF: line feed)CR: carriage return
- Returns:
this
-
wrapBy
@Stability(Stable) public CfnPartnershipPropsMixin.WrapOptionsProperty.Builder wrapBy(String wrapBy) Sets the value ofCfnPartnershipPropsMixin.WrapOptionsProperty.getWrapBy()- Parameters:
wrapBy- Specifies the method used for wrapping lines in the EDI output. Valid values:.SEGMENT: Wraps by segment.ONE_LINE: Indicates that the entire content is on a single line.
When you specify
ONE_LINE, do not provide either the line length nor the line terminator value.LINE_LENGTH: Wraps by character count, as specified bylineLengthvalue.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnershipPropsMixin.WrapOptionsProperty>- Returns:
- a new instance of
CfnPartnershipPropsMixin.WrapOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-