UserAssignedIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.UserAssignedIdentity

Implements

public final class UserAssignedIdentity
implements JsonSerializable<UserAssignedIdentity>

UserAssignedIdentity for the resource.

Constructor Summary

Constructor Description
UserAssignedIdentity()

Creates an instance of UserAssignedIdentity class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The client ID of the identity.

static UserAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedIdentity from the JsonReader.

String principalId()

Get the principalId property: The principal ID of the identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UserAssignedIdentity

public UserAssignedIdentity()

Creates an instance of UserAssignedIdentity class.

Method Details

clientId

public String clientId()

Get the clientId property: The client ID of the identity.

Returns:

the clientId value.

fromJson

public static UserAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

principalId

public String principalId()

Get the principalId property: The principal ID of the identity.

Returns:

the principalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to