InformationProtectionPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. InformationProtectionPolicyInner
- com.
- com.
public final class InformationProtectionPolicyInner
extends ProxyResource
Information protection policy.
Constructor Summary
| Constructor | Description |
|---|---|
| InformationProtectionPolicyInner() |
Creates an instance of Information |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Information |
fromJson(JsonReader jsonReader)
Reads an instance of Information |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Map<String,Information |
informationTypes()
Get the information |
|
Map<String,Sensitivity |
labels()
Get the labels property: Dictionary of sensitivity labels. |
|
Offset |
lastModifiedUtc()
Get the last |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Describes the version of the policy. |
|
Information |
withInformationTypes(Map<String,InformationType> informationTypes)
Set the information |
|
Information |
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
fromJson
public static InformationProtectionPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of InformationProtectionPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
InformationProtectionPolicyInner.id()Returns:
informationTypes
public Map<String,InformationType> informationTypes()
Get the informationTypes property: The sensitivity information types.
Returns:
labels
public Map<String,SensitivityLabel> labels()
Get the labels property: Dictionary of sensitivity labels.
Returns:
lastModifiedUtc
public OffsetDateTime lastModifiedUtc()
Get the lastModifiedUtc property: Describes the last UTC time the policy was modified.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
InformationProtectionPolicyInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InformationProtectionPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
InformationProtectionPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Describes the version of the policy.
Returns:
withInformationTypes
public InformationProtectionPolicyInner withInformationTypes(Map<String,InformationType> informationTypes)
Set the informationTypes property: The sensitivity information types.
Parameters:
Returns:
withLabels
public InformationProtectionPolicyInner withLabels(Map<String,SensitivityLabel> labels)
Set the labels property: Dictionary of sensitivity labels.
Parameters:
Returns: