PolicyMetadataInner Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. fluent. models. PolicyMetadataInner
- com.
Implements
public final class PolicyMetadataInner
implements JsonSerializable<PolicyMetadataInner>
Policy metadata resource definition.
Constructor Summary
| Constructor | Description |
|---|---|
| PolicyMetadataInner() |
Creates an instance of Policy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
additionalContentUrl()
Get the additional |
| String |
category()
Get the category property: The category of the policy metadata. |
| String |
description()
Get the description property: The description of the policy metadata. |
|
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
| String |
id()
Get the id property: The ID of the policy metadata. |
| Object |
metadata()
Get the metadata property: Additional metadata. |
| String |
metadataId()
Get the metadata |
| String |
name()
Get the name property: The name of the policy metadata. |
| String |
owner()
Get the owner property: The owner of the policy metadata. |
| String |
requirements()
Get the requirements property: The requirements of the policy metadata. |
| String |
title()
Get the title property: The title of the policy metadata. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the policy metadata. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
PolicyMetadataInner
public PolicyMetadataInner()
Creates an instance of PolicyMetadataInner class.
Method Details
additionalContentUrl
public String additionalContentUrl()
Get the additionalContentUrl property: Url for getting additional content about the resource metadata.
Returns:
category
public String category()
Get the category property: The category of the policy metadata.
Returns:
description
public String description()
Get the description property: The description of the policy metadata.
Returns:
fromJson
public static PolicyMetadataInner fromJson(JsonReader jsonReader)
Reads an instance of PolicyMetadataInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the policy metadata.
Returns:
metadata
public Object metadata()
Get the metadata property: Additional metadata.
Returns:
metadataId
public String metadataId()
Get the metadataId property: The policy metadata identifier.
Returns:
name
public String name()
Get the name property: The name of the policy metadata.
Returns:
owner
public String owner()
Get the owner property: The owner of the policy metadata.
Returns:
requirements
public String requirements()
Get the requirements property: The requirements of the policy metadata.
Returns:
title
public String title()
Get the title property: The title of the policy metadata.
Returns:
toJson
type
public String type()
Get the type property: The type of the policy metadata.
Returns:
validate
public void validate()
Validates the instance.