Class X12DelimiterOverrides

java.lang.Object
com.azure.resourcemanager.logic.models.X12DelimiterOverrides

public final class X12DelimiterOverrides extends Object
The X12 delimiter override settings.
  • Constructor Details

    • X12DelimiterOverrides

      public X12DelimiterOverrides()
      Creates an instance of X12DelimiterOverrides class.
  • Method Details

    • protocolVersion

      public String protocolVersion()
      Get the protocolVersion property: The protocol version.
      Returns:
      the protocolVersion value.
    • withProtocolVersion

      public X12DelimiterOverrides withProtocolVersion(String protocolVersion)
      Set the protocolVersion property: The protocol version.
      Parameters:
      protocolVersion - the protocolVersion value to set.
      Returns:
      the X12DelimiterOverrides object itself.
    • messageId

      public String messageId()
      Get the messageId property: The message id.
      Returns:
      the messageId value.
    • withMessageId

      public X12DelimiterOverrides withMessageId(String messageId)
      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

      public X12DelimiterOverrides withDataElementSeparator(int dataElementSeparator)
      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

      public X12DelimiterOverrides withComponentSeparator(int componentSeparator)
      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

      public X12DelimiterOverrides withSegmentTerminator(int segmentTerminator)
      Set the segmentTerminator property: The segment terminator.
      Parameters:
      segmentTerminator - the segmentTerminator value to set.
      Returns:
      the X12DelimiterOverrides object itself.
    • segmentTerminatorSuffix

      public SegmentTerminatorSuffix 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

      public X12DelimiterOverrides withReplaceCharacter(int replaceCharacter)
      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

      public X12DelimiterOverrides withReplaceSeparatorsInPayload(boolean replaceSeparatorsInPayload)
      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

      public String targetNamespace()
      Get the targetNamespace property: The target namespace on which this delimiter settings has to be applied.
      Returns:
      the targetNamespace value.
    • withTargetNamespace

      public X12DelimiterOverrides withTargetNamespace(String targetNamespace)
      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.