Interface WrapOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WrapOptions.Builder,
,WrapOptions> SdkBuilder<WrapOptions.Builder,
,WrapOptions> SdkPojo
- Enclosing class:
WrapOptions
-
Method Summary
Modifier and TypeMethodDescriptionlineLength
(Integer lineLength) Specifies the maximum length of a line before wrapping occurs.lineTerminator
(String lineTerminator) Specifies the character sequence used to terminate lines when wrapping.lineTerminator
(LineTerminator lineTerminator) Specifies the character sequence used to terminate lines when wrapping.Specifies the method used for wrapping lines in the EDI output.wrapBy
(WrapFormat wrapBy) Specifies the method used for wrapping lines in the EDI output.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 bylineLength
value.
- 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 bylineLength
value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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 bylineLength
value.
- 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 bylineLength
value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lineTerminator
Specifies the character sequence used to terminate lines when wrapping. Valid values:
-
CRLF
: carriage return and line feed -
LF
: line feed) -
CR
: carriage return
- Parameters:
lineTerminator
- Specifies the character sequence used to terminate lines when wrapping. Valid values:-
CRLF
: carriage return and line feed -
LF
: line feed) -
CR
: carriage return
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lineTerminator
Specifies the character sequence used to terminate lines when wrapping. Valid values:
-
CRLF
: carriage return and line feed -
LF
: line feed) -
CR
: carriage return
- Parameters:
lineTerminator
- Specifies the character sequence used to terminate lines when wrapping. Valid values:-
CRLF
: carriage return and line feed -
LF
: line feed) -
CR
: carriage return
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lineLength
Specifies the maximum length of a line before wrapping occurs. This value is used when
wrapBy
is set toLINE_LENGTH
.- Parameters:
lineLength
- Specifies the maximum length of a line before wrapping occurs. This value is used whenwrapBy
is set toLINE_LENGTH
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-