PolicyMetadataInner Class

  • java.lang.Object
    • com.azure.resourcemanager.policyinsights.fluent.models.PolicyMetadataInner

Implements

public final class PolicyMetadataInner
implements JsonSerializable<PolicyMetadataInner>

Policy metadata resource definition.

Constructor Summary

Constructor Description
PolicyMetadataInner()

Creates an instance of PolicyMetadataInner class.

Method Summary

Modifier and Type Method and Description
String additionalContentUrl()

Get the additionalContentUrl property: Url for getting additional content about the resource metadata.

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 PolicyMetadataInner fromJson(JsonReader jsonReader)

Reads an instance of PolicyMetadataInner from the JsonReader.

String id()

Get the id property: The ID of the policy metadata.

Object metadata()

Get the metadata property: Additional metadata.

String metadataId()

Get the metadataId property: The policy metadata identifier.

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.

JsonWriter 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:

the additionalContentUrl value.

category

public String category()

Get the category property: The category of the policy metadata.

Returns:

the category value.

description

public String description()

Get the description property: The description of the policy metadata.

Returns:

the description value.

fromJson

public static PolicyMetadataInner fromJson(JsonReader jsonReader)

Reads an instance of PolicyMetadataInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PolicyMetadataInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PolicyMetadataInner.

id

public String id()

Get the id property: The ID of the policy metadata.

Returns:

the id value.

metadata

public Object metadata()

Get the metadata property: Additional metadata.

Returns:

the metadata value.

metadataId

public String metadataId()

Get the metadataId property: The policy metadata identifier.

Returns:

the metadataId value.

name

public String name()

Get the name property: The name of the policy metadata.

Returns:

the name value.

owner

public String owner()

Get the owner property: The owner of the policy metadata.

Returns:

the owner value.

requirements

public String requirements()

Get the requirements property: The requirements of the policy metadata.

Returns:

the requirements value.

title

public String title()

Get the title property: The title of the policy metadata.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the policy metadata.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to