UserAssignedIdentityProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.models.UserAssignedIdentityProperties

Implements

public final class UserAssignedIdentityProperties
implements JsonSerializable<UserAssignedIdentityProperties>

The UserAssignedIdentityProperties model.

Constructor Summary

Constructor Description
UserAssignedIdentityProperties()

Creates an instance of UserAssignedIdentityProperties class.

Method Summary

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

Reads an instance of UserAssignedIdentityProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String userAssignedIdentity()

Get the userAssignedIdentity property: ARM ID of user Identity selected for encryption.

void validate()

Validates the instance.

UserAssignedIdentityProperties withUserAssignedIdentity(String userAssignedIdentity)

Set the userAssignedIdentity property: ARM ID of user Identity selected for encryption.

Methods inherited from java.lang.Object

Constructor Details

UserAssignedIdentityProperties

public UserAssignedIdentityProperties()

Creates an instance of UserAssignedIdentityProperties class.

Method Details

fromJson

public static UserAssignedIdentityProperties fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedIdentityProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userAssignedIdentity

public String userAssignedIdentity()

Get the userAssignedIdentity property: ARM ID of user Identity selected for encryption.

Returns:

the userAssignedIdentity value.

validate

public void validate()

Validates the instance.

withUserAssignedIdentity

public UserAssignedIdentityProperties withUserAssignedIdentity(String userAssignedIdentity)

Set the userAssignedIdentity property: ARM ID of user Identity selected for encryption.

Parameters:

userAssignedIdentity - the userAssignedIdentity value to set.

Returns:

the UserAssignedIdentityProperties object itself.

Applies to