Class InformationType

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

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

    • InformationType

      public InformationType()
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The name of the information type.
      Returns:
      the displayName value.
    • withDisplayName

      public InformationType withDisplayName(String displayName)
      Set the displayName property: The name of the information type.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the InformationType object itself.
    • description

      public String description()
      Get the description property: The description of the information type.
      Returns:
      the description value.
    • withDescription

      public InformationType withDescription(String description)
      Set the description property: The description of the information type.
      Parameters:
      description - the description value to set.
      Returns:
      the InformationType object itself.
    • order

      public Integer order()
      Get the order property: The order of the information type.
      Returns:
      the order value.
    • withOrder

      public InformationType withOrder(Integer order)
      Set the order property: The order of the information type.
      Parameters:
      order - the order value to set.
      Returns:
      the InformationType object itself.
    • recommendedLabelId

      public UUID recommendedLabelId()
      Get the recommendedLabelId property: The recommended label id to be associated with this information type.
      Returns:
      the recommendedLabelId value.
    • withRecommendedLabelId

      public InformationType withRecommendedLabelId(UUID recommendedLabelId)
      Set the recommendedLabelId property: The recommended label id to be associated with this information type.
      Parameters:
      recommendedLabelId - the recommendedLabelId value to set.
      Returns:
      the InformationType object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Indicates whether the information type is enabled or not.
      Returns:
      the enabled value.
    • withEnabled

      public InformationType withEnabled(Boolean enabled)
      Set the enabled property: Indicates whether the information type is enabled or not.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the InformationType object itself.
    • custom

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

      public InformationType withCustom(Boolean custom)
      Set the custom property: Indicates whether the information type is custom or not.
      Parameters:
      custom - the custom value to set.
      Returns:
      the InformationType object itself.
    • keywords

      public List<InformationProtectionKeyword> keywords()
      Get the keywords property: The information type keywords.
      Returns:
      the keywords value.
    • withKeywords

      public InformationType withKeywords(List<InformationProtectionKeyword> keywords)
      Set the keywords property: The information type keywords.
      Parameters:
      keywords - the keywords value to set.
      Returns:
      the InformationType object itself.
    • validate

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