Class InformationProtectionKeyword

java.lang.Object
com.azure.resourcemanager.security.models.InformationProtectionKeyword

public final class InformationProtectionKeyword extends Object
The information type keyword.
  • Constructor Details

    • InformationProtectionKeyword

      public InformationProtectionKeyword()
  • Method Details

    • pattern

      public String pattern()
      Get the pattern property: The keyword pattern.
      Returns:
      the pattern value.
    • withPattern

      public InformationProtectionKeyword withPattern(String pattern)
      Set the pattern property: The keyword pattern.
      Parameters:
      pattern - the pattern value to set.
      Returns:
      the InformationProtectionKeyword object itself.
    • custom

      public Boolean custom()
      Get the custom property: Indicates whether the keyword is custom or not.
      Returns:
      the custom value.
    • withCustom

      public InformationProtectionKeyword withCustom(Boolean custom)
      Set the custom property: Indicates whether the keyword is custom or not.
      Parameters:
      custom - the custom value to set.
      Returns:
      the InformationProtectionKeyword object itself.
    • canBeNumeric

      public Boolean canBeNumeric()
      Get the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.
      Returns:
      the canBeNumeric value.
    • withCanBeNumeric

      public InformationProtectionKeyword withCanBeNumeric(Boolean canBeNumeric)
      Set the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.
      Parameters:
      canBeNumeric - the canBeNumeric value to set.
      Returns:
      the InformationProtectionKeyword object itself.
    • excluded

      public Boolean excluded()
      Get the excluded property: Indicates whether the keyword is excluded or not.
      Returns:
      the excluded value.
    • withExcluded

      public InformationProtectionKeyword withExcluded(Boolean excluded)
      Set the excluded property: Indicates whether the keyword is excluded or not.
      Parameters:
      excluded - the excluded value to set.
      Returns:
      the InformationProtectionKeyword object itself.
    • validate

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