Class X12FramingSettings

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

public final class X12FramingSettings extends Object
The X12 agreement framing settings.
  • 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

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

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

      public X12FramingSettings 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 X12FramingSettings object itself.
    • replaceCharacter

      public int replaceCharacter()
      Get the replaceCharacter property: The replacement character.
      Returns:
      the replaceCharacter value.
    • withReplaceCharacter

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

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

      public X12CharacterSet characterSet()
      Get the characterSet property: The X12 character set.
      Returns:
      the characterSet value.
    • withCharacterSet

      public X12FramingSettings withCharacterSet(X12CharacterSet characterSet)
      Set the characterSet property: The X12 character set.
      Parameters:
      characterSet - the characterSet value to set.
      Returns:
      the X12FramingSettings object itself.
    • segmentTerminatorSuffix

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