Class X12FramingSettings
java.lang.Object
com.azure.resourcemanager.logic.models.X12FramingSettings
The X12 agreement framing settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the characterSet property: The X12 character set.int
Get the componentSeparator property: The component separator.int
Get the dataElementSeparator property: The data element separator.int
Get the replaceCharacter property: The replacement character.boolean
Get the replaceSeparatorsInPayload property: The value indicating whether to replace separators in payload.int
Get the segmentTerminator property: The segment terminator.Get the segmentTerminatorSuffix property: The segment terminator suffix.void
validate()
Validates the instance.withCharacterSet
(X12CharacterSet characterSet) Set the characterSet property: The X12 character set.withComponentSeparator
(int componentSeparator) Set the componentSeparator property: The component separator.withDataElementSeparator
(int dataElementSeparator) Set the dataElementSeparator property: The data element separator.withReplaceCharacter
(int replaceCharacter) Set the replaceCharacter property: The replacement character.withReplaceSeparatorsInPayload
(boolean replaceSeparatorsInPayload) Set the replaceSeparatorsInPayload property: The value indicating whether to replace separators in payload.withSegmentTerminator
(int segmentTerminator) Set the segmentTerminator property: The segment terminator.withSegmentTerminatorSuffix
(SegmentTerminatorSuffix segmentTerminatorSuffix) Set the segmentTerminatorSuffix property: The segment terminator suffix.
-
Constructor Details
-
X12FramingSettings
public X12FramingSettings()Creates an instance of X12FramingSettings class.
-
-
Method Details
-
dataElementSeparator
public int dataElementSeparator()Get the dataElementSeparator property: The data element separator.- Returns:
- the dataElementSeparator value.
-
withDataElementSeparator
Set the dataElementSeparator property: The data element separator.- Parameters:
dataElementSeparator
- the dataElementSeparator value to set.- Returns:
- the X12FramingSettings object itself.
-
componentSeparator
public int componentSeparator()Get the componentSeparator property: The component separator.- Returns:
- the componentSeparator value.
-
withComponentSeparator
Set the componentSeparator property: The component separator.- Parameters:
componentSeparator
- the componentSeparator value to set.- Returns:
- the X12FramingSettings object itself.
-
replaceSeparatorsInPayload
public boolean replaceSeparatorsInPayload()Get the replaceSeparatorsInPayload property: The value indicating whether to replace separators in payload.- Returns:
- the replaceSeparatorsInPayload value.
-
withReplaceSeparatorsInPayload
Set the replaceSeparatorsInPayload property: The value indicating whether to replace separators in payload.- Parameters:
replaceSeparatorsInPayload
- the replaceSeparatorsInPayload value to set.- Returns:
- the X12FramingSettings object itself.
-
replaceCharacter
public int replaceCharacter()Get the replaceCharacter property: The replacement character.- Returns:
- the replaceCharacter value.
-
withReplaceCharacter
Set the replaceCharacter property: The replacement character.- Parameters:
replaceCharacter
- the replaceCharacter value to set.- Returns:
- the X12FramingSettings object itself.
-
segmentTerminator
public int segmentTerminator()Get the segmentTerminator property: The segment terminator.- Returns:
- the segmentTerminator value.
-
withSegmentTerminator
Set the segmentTerminator property: The segment terminator.- Parameters:
segmentTerminator
- the segmentTerminator value to set.- Returns:
- the X12FramingSettings object itself.
-
characterSet
Get the characterSet property: The X12 character set.- Returns:
- the characterSet value.
-
withCharacterSet
Set the characterSet property: The X12 character set.- Parameters:
characterSet
- the characterSet value to set.- Returns:
- the X12FramingSettings object itself.
-
segmentTerminatorSuffix
Get the segmentTerminatorSuffix property: The segment terminator suffix.- Returns:
- the segmentTerminatorSuffix value.
-
withSegmentTerminatorSuffix
public X12FramingSettings withSegmentTerminatorSuffix(SegmentTerminatorSuffix segmentTerminatorSuffix) Set the segmentTerminatorSuffix property: The segment terminator suffix.- Parameters:
segmentTerminatorSuffix
- the segmentTerminatorSuffix value to set.- Returns:
- the X12FramingSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-