Class InformationProtectionPolicyInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.InformationProtectionPolicyInner

public final class InformationProtectionPolicyInner extends com.azure.core.management.ProxyResource
Information protection policy.
  • Constructor Details

    • InformationProtectionPolicyInner

      public InformationProtectionPolicyInner()
  • 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 InformationProtectionPolicyInner object itself.
    • informationTypes

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

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

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