Class X12ValidationOverride

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

public final class X12ValidationOverride extends Object
The X12 validation override settings.
  • Constructor Details

    • X12ValidationOverride

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

    • messageId

      public String messageId()
      Get the messageId property: The message id on which the validation settings has to be applied.
      Returns:
      the messageId value.
    • withMessageId

      public X12ValidationOverride withMessageId(String messageId)
      Set the messageId property: The message id on which the validation settings has to be applied.
      Parameters:
      messageId - the messageId value to set.
      Returns:
      the X12ValidationOverride object itself.
    • validateEdiTypes

      public boolean validateEdiTypes()
      Get the validateEdiTypes property: The value indicating whether to validate EDI types.
      Returns:
      the validateEdiTypes value.
    • withValidateEdiTypes

      public X12ValidationOverride withValidateEdiTypes(boolean validateEdiTypes)
      Set the validateEdiTypes property: The value indicating whether to validate EDI types.
      Parameters:
      validateEdiTypes - the validateEdiTypes value to set.
      Returns:
      the X12ValidationOverride object itself.
    • validateXsdTypes

      public boolean validateXsdTypes()
      Get the validateXsdTypes property: The value indicating whether to validate XSD types.
      Returns:
      the validateXsdTypes value.
    • withValidateXsdTypes

      public X12ValidationOverride withValidateXsdTypes(boolean validateXsdTypes)
      Set the validateXsdTypes property: The value indicating whether to validate XSD types.
      Parameters:
      validateXsdTypes - the validateXsdTypes value to set.
      Returns:
      the X12ValidationOverride object itself.
    • allowLeadingAndTrailingSpacesAndZeroes

      public boolean allowLeadingAndTrailingSpacesAndZeroes()
      Get the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.
      Returns:
      the allowLeadingAndTrailingSpacesAndZeroes value.
    • withAllowLeadingAndTrailingSpacesAndZeroes

      public X12ValidationOverride withAllowLeadingAndTrailingSpacesAndZeroes(boolean allowLeadingAndTrailingSpacesAndZeroes)
      Set the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.
      Parameters:
      allowLeadingAndTrailingSpacesAndZeroes - the allowLeadingAndTrailingSpacesAndZeroes value to set.
      Returns:
      the X12ValidationOverride object itself.
    • validateCharacterSet

      public boolean validateCharacterSet()
      Get the validateCharacterSet property: The value indicating whether to validate character Set.
      Returns:
      the validateCharacterSet value.
    • withValidateCharacterSet

      public X12ValidationOverride withValidateCharacterSet(boolean validateCharacterSet)
      Set the validateCharacterSet property: The value indicating whether to validate character Set.
      Parameters:
      validateCharacterSet - the validateCharacterSet value to set.
      Returns:
      the X12ValidationOverride object itself.
    • trimLeadingAndTrailingSpacesAndZeroes

      public boolean trimLeadingAndTrailingSpacesAndZeroes()
      Get the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing spaces and zeroes.
      Returns:
      the trimLeadingAndTrailingSpacesAndZeroes value.
    • withTrimLeadingAndTrailingSpacesAndZeroes

      public X12ValidationOverride withTrimLeadingAndTrailingSpacesAndZeroes(boolean trimLeadingAndTrailingSpacesAndZeroes)
      Set the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing spaces and zeroes.
      Parameters:
      trimLeadingAndTrailingSpacesAndZeroes - the trimLeadingAndTrailingSpacesAndZeroes value to set.
      Returns:
      the X12ValidationOverride object itself.
    • trailingSeparatorPolicy

      public TrailingSeparatorPolicy trailingSeparatorPolicy()
      Get the trailingSeparatorPolicy property: The trailing separator policy.
      Returns:
      the trailingSeparatorPolicy value.
    • withTrailingSeparatorPolicy

      public X12ValidationOverride withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy)
      Set the trailingSeparatorPolicy property: The trailing separator policy.
      Parameters:
      trailingSeparatorPolicy - the trailingSeparatorPolicy value to set.
      Returns:
      the X12ValidationOverride object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.