Compartilhar via


AuthorizationProfile Class

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

Implements

public final class AuthorizationProfile
implements JsonSerializable<AuthorizationProfile>

Authorization Profile.

Constructor Summary

Constructor Description
AuthorizationProfile()

Creates an instance of AuthorizationProfile class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime approvedTime()

Get the approvedTime property: The approved time.

String approver()

Get the approver property: The approver.

static AuthorizationProfile fromJson(JsonReader jsonReader)

Reads an instance of AuthorizationProfile from the JsonReader.

OffsetDateTime requestedTime()

Get the requestedTime property: The requested time.

String requester()

Get the requester property: The requester.

String requesterObjectId()

Get the requesterObjectId property: The requester object id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AuthorizationProfile

public AuthorizationProfile()

Creates an instance of AuthorizationProfile class.

Method Details

approvedTime

public OffsetDateTime approvedTime()

Get the approvedTime property: The approved time.

Returns:

the approvedTime value.

approver

public String approver()

Get the approver property: The approver.

Returns:

the approver value.

fromJson

public static AuthorizationProfile fromJson(JsonReader jsonReader)

Reads an instance of AuthorizationProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

requestedTime

public OffsetDateTime requestedTime()

Get the requestedTime property: The requested time.

Returns:

the requestedTime value.

requester

public String requester()

Get the requester property: The requester.

Returns:

the requester value.

requesterObjectId

public String requesterObjectId()

Get the requesterObjectId property: The requester object id.

Returns:

the requesterObjectId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to