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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the informationTypes property: The sensitivity information types.labels()
Get the labels property: Dictionary of sensitivity labels.Get the lastModifiedUtc property: Describes the last UTC time the policy was modified.void
validate()
Validates the instance.version()
Get the version property: Describes the version of the policy.withInformationTypes
(Map<String, InformationType> informationTypes) Set the informationTypes property: The sensitivity information types.withLabels
(Map<String, SensitivityLabel> labels) Set the labels property: Dictionary of sensitivity labels.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
InformationProtectionPolicyInner
public InformationProtectionPolicyInner()
-
-
Method Details
-
lastModifiedUtc
Get the lastModifiedUtc property: Describes the last UTC time the policy was modified.- Returns:
- the lastModifiedUtc value.
-
version
Get the version property: Describes the version of the policy.- Returns:
- the version value.
-
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
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.
-