InformationProtectionPolicyInner Class

public final class InformationProtectionPolicyInner
extends ProxyResource

Information protection policy.

Constructor Summary

Constructor Description
InformationProtectionPolicyInner()

Creates an instance of InformationProtectionPolicyInner class.

Method Summary

Modifier and Type Method and Description
Map<String,InformationType> informationTypes()

Get the informationTypes property: The sensitivity information types.

Map<String,SensitivityLabel> labels()

Get the labels property: Dictionary of sensitivity labels.

OffsetDateTime lastModifiedUtc()

Get the lastModifiedUtc property: Describes the last UTC time the policy was modified.

void validate()

Validates the instance.

String version()

Get the version property: Describes the version of the policy.

InformationProtectionPolicyInner withInformationTypes(Map<String,InformationType> informationTypes)

Set the informationTypes property: The sensitivity information types.

InformationProtectionPolicyInner withLabels(Map<String,SensitivityLabel> labels)

Set the labels property: Dictionary of sensitivity labels.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

InformationProtectionPolicyInner

public InformationProtectionPolicyInner()

Creates an instance of InformationProtectionPolicyInner class.

Method Details

informationTypes

public Map informationTypes()

Get the informationTypes property: The sensitivity information types.

Returns:

the informationTypes value.

labels

public Map labels()

Get the labels property: Dictionary of sensitivity labels.

Returns:

the labels value.

lastModifiedUtc

public OffsetDateTime lastModifiedUtc()

Get the lastModifiedUtc property: Describes the last UTC time the policy was modified.

Returns:

the lastModifiedUtc value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Describes the version of the policy.

Returns:

the version value.

withInformationTypes

public InformationProtectionPolicyInner withInformationTypes(Map informationTypes)

Set the informationTypes property: The sensitivity information types.

Parameters:

informationTypes - the informationTypes value to set.

Returns:

the InformationProtectionPolicyInner object itself.

withLabels

public InformationProtectionPolicyInner withLabels(Map labels)

Set the labels property: Dictionary of sensitivity labels.

Parameters:

labels - the labels value to set.

Returns:

the InformationProtectionPolicyInner object itself.

Applies to