PolicyAssignmentPropertiesPolicy Class

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

Implements

public final class PolicyAssignmentPropertiesPolicy
implements JsonSerializable<PolicyAssignmentPropertiesPolicy>

Details of the policy.

Method Summary

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

Reads an instance of PolicyAssignmentPropertiesPolicy from the JsonReader.

String id()

Get the id property: Id of the policy.

Principal lastModifiedBy()

Get the lastModifiedBy property: The name of the entity last modified it.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The last modified date time.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static PolicyAssignmentPropertiesPolicy fromJson(JsonReader jsonReader)

Reads an instance of PolicyAssignmentPropertiesPolicy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the policy.

Returns:

the id value.

lastModifiedBy

public Principal lastModifiedBy()

Get the lastModifiedBy property: The name of the entity last modified it.

Returns:

the lastModifiedBy value.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The last modified date time.

Returns:

the lastModifiedDateTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to