Interface CfnPartnership.WrapOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPartnership.WrapOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnPartnership
@Stability(Stable)
public static interface CfnPartnership.WrapOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Contains options for wrapping (line folding) in X12 EDI files.
Wrapping controls how long lines are handled in the EDI output.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.b2bi.*; WrapOptionsProperty wrapOptionsProperty = WrapOptionsProperty.builder() .lineLength(123) .lineTerminator("lineTerminator") .wrapBy("wrapBy") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPartnership.WrapOptionsProperty
static final class
An implementation forCfnPartnership.WrapOptionsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLineLength
Specifies the maximum length of a line before wrapping occurs.This value is used when
wrapBy
is set toLINE_LENGTH
.- See Also:
-
getLineTerminator
Specifies the character sequence used to terminate lines when wrapping. Valid values:.CRLF
: carriage return and line feedLF
: line feed)CR
: carriage return
- See Also:
-
getWrapBy
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 bylineLength
value.
- See Also:
-
builder
-