Class X12DelimiterOverrides
java.lang.Object
com.azure.resourcemanager.logic.models.X12DelimiterOverrides
The X12 delimiter override settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the componentSeparator property: The component separator.int
Get the dataElementSeparator property: The data element separator.Get the messageId property: The message id.Get the protocolVersion property: The protocol version.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.Get the targetNamespace property: The target namespace on which this delimiter settings has to be applied.void
validate()
Validates the instance.withComponentSeparator
(int componentSeparator) Set the componentSeparator property: The component separator.withDataElementSeparator
(int dataElementSeparator) Set the dataElementSeparator property: The data element separator.withMessageId
(String messageId) Set the messageId property: The message id.withProtocolVersion
(String protocolVersion) Set the protocolVersion property: The protocol version.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.withTargetNamespace
(String targetNamespace) Set the targetNamespace property: The target namespace on which this delimiter settings has to be applied.
-
Constructor Details
-
X12DelimiterOverrides
public X12DelimiterOverrides()Creates an instance of X12DelimiterOverrides class.
-
-
Method Details
-
protocolVersion
Get the protocolVersion property: The protocol version.- Returns:
- the protocolVersion value.
-
withProtocolVersion
Set the protocolVersion property: The protocol version.- Parameters:
protocolVersion
- the protocolVersion value to set.- Returns:
- the X12DelimiterOverrides object itself.
-
messageId
Get the messageId property: The message id.- Returns:
- the messageId value.
-
withMessageId
Set the messageId property: The message id.- Parameters:
messageId
- the messageId value to set.- Returns:
- the X12DelimiterOverrides object itself.
-
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 X12DelimiterOverrides 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 X12DelimiterOverrides 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 X12DelimiterOverrides object itself.
-
segmentTerminatorSuffix
Get the segmentTerminatorSuffix property: The segment terminator suffix.- Returns:
- the segmentTerminatorSuffix value.
-
withSegmentTerminatorSuffix
public X12DelimiterOverrides withSegmentTerminatorSuffix(SegmentTerminatorSuffix segmentTerminatorSuffix) Set the segmentTerminatorSuffix property: The segment terminator suffix.- Parameters:
segmentTerminatorSuffix
- the segmentTerminatorSuffix value to set.- Returns:
- the X12DelimiterOverrides 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 X12DelimiterOverrides 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 X12DelimiterOverrides object itself.
-
targetNamespace
Get the targetNamespace property: The target namespace on which this delimiter settings has to be applied.- Returns:
- the targetNamespace value.
-
withTargetNamespace
Set the targetNamespace property: The target namespace on which this delimiter settings has to be applied.- Parameters:
targetNamespace
- the targetNamespace value to set.- Returns:
- the X12DelimiterOverrides object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-