PolicyProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.PolicyProperties

Implements

public final class PolicyProperties
implements JsonSerializable<PolicyProperties>

Expanded info of resource scope.

Constructor Summary

Constructor Description
PolicyProperties()

Creates an instance of PolicyProperties class.

Method Summary

Modifier and Type Method and Description
static PolicyProperties fromJson(JsonReader jsonReader)

Reads an instance of PolicyProperties from the JsonReader.

PolicyPropertiesScope scope()

Get the scope property: Details of the resource scope.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PolicyProperties

public PolicyProperties()

Creates an instance of PolicyProperties class.

Method Details

fromJson

public static PolicyProperties fromJson(JsonReader jsonReader)

Reads an instance of PolicyProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PolicyProperties 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 PolicyProperties.

scope

public PolicyPropertiesScope scope()

Get the scope property: Details of the resource scope.

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to