PolicyTokenEvaluatedRequestDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.PolicyTokenEvaluatedRequestDetails

Implements

public final class PolicyTokenEvaluatedRequestDetails
implements JsonSerializable<PolicyTokenEvaluatedRequestDetails>

The policy token evaluated request details.

Method Summary

Modifier and Type Method and Description
String apiVersion()

Get the apiVersion property: The api-version of the resource operation that is targeted by the issued token.

String authorizationAction()

Get the authorizationAction property: The authorization action of the resource operation that is targeted by the issued token.

String contentHash()

Get the contentHash property: The hashed payload of the resource operation that is targeted by the issued token.

static PolicyTokenEvaluatedRequestDetails fromJson(JsonReader jsonReader)

Reads an instance of PolicyTokenEvaluatedRequestDetails from the JsonReader.

String httpMethod()

Get the httpMethod property: The http method of the resource operation that is targeted by the issued token.

String resourceId()

Get the resourceId property: The resource Id of the resource operation that is targeted by the issued token.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: The request URI of the resource operation that is targeted by the issued token.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

apiVersion

public String apiVersion()

Get the apiVersion property: The api-version of the resource operation that is targeted by the issued token.

Returns:

the apiVersion value.

authorizationAction

public String authorizationAction()

Get the authorizationAction property: The authorization action of the resource operation that is targeted by the issued token.

Returns:

the authorizationAction value.

contentHash

public String contentHash()

Get the contentHash property: The hashed payload of the resource operation that is targeted by the issued token.

Returns:

the contentHash value.

fromJson

public static PolicyTokenEvaluatedRequestDetails fromJson(JsonReader jsonReader)

Reads an instance of PolicyTokenEvaluatedRequestDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

httpMethod

public String httpMethod()

Get the httpMethod property: The http method of the resource operation that is targeted by the issued token.

Returns:

the httpMethod value.

resourceId

public String resourceId()

Get the resourceId property: The resource Id of the resource operation that is targeted by the issued token.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: The request URI of the resource operation that is targeted by the issued token.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

Applies to