Class InformationProtectionPolicyProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.InformationProtectionPolicyProperties

public final class InformationProtectionPolicyProperties extends Object
describes properties of an information protection policy.
  • Constructor Details

    • InformationProtectionPolicyProperties

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

    • lastModifiedUtc

      public OffsetDateTime lastModifiedUtc()
      Get the lastModifiedUtc property: Describes the last UTC time the policy was modified.
      Returns:
      the lastModifiedUtc value.
    • version

      public String version()
      Get the version property: Describes the version of the policy.
      Returns:
      the version value.
    • labels

      public Map<String,SensitivityLabel> labels()
      Get the labels property: Dictionary of sensitivity labels.
      Returns:
      the labels value.
    • withLabels

      Set the labels property: Dictionary of sensitivity labels.
      Parameters:
      labels - the labels value to set.
      Returns:
      the InformationProtectionPolicyProperties object itself.
    • informationTypes

      public Map<String,InformationType> informationTypes()
      Get the informationTypes property: The sensitivity information types.
      Returns:
      the informationTypes value.
    • withInformationTypes

      public InformationProtectionPolicyProperties withInformationTypes(Map<String,InformationType> informationTypes)
      Set the informationTypes property: The sensitivity information types.
      Parameters:
      informationTypes - the informationTypes value to set.
      Returns:
      the InformationProtectionPolicyProperties object itself.
    • validate

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