UserAssignedIdentityProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.UserAssignedIdentityProperty

Implements

public final class UserAssignedIdentityProperty
implements JsonSerializable<UserAssignedIdentityProperty>

Properties of user assigned identity.

Constructor Summary

Constructor Description
UserAssignedIdentityProperty()

Creates an instance of UserAssignedIdentityProperty class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: Get the client id for the user assigned identity.

static UserAssignedIdentityProperty fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedIdentityProperty from the JsonReader.

String principalId()

Get the principalId property: Get the principal id for the user assigned identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UserAssignedIdentityProperty

public UserAssignedIdentityProperty()

Creates an instance of UserAssignedIdentityProperty class.

Method Details

clientId

public String clientId()

Get the clientId property: Get the client id for the user assigned identity.

Returns:

the clientId value.

fromJson

public static UserAssignedIdentityProperty fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedIdentityProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

principalId

public String principalId()

Get the principalId property: Get the principal id for the user assigned identity.

Returns:

the principalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to