次の方法で共有


UserAssignedProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.UserAssignedProperties

Implements

public final class UserAssignedProperties
implements JsonSerializable<UserAssignedProperties>

User assigned identity properties.

Constructor Summary

Constructor Description
UserAssignedProperties()

Creates an instance of UserAssignedProperties class.

Method Summary

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

Reads an instance of UserAssignedProperties from the JsonReader.

String resourceId()

Get the resourceId property: Arm resource id for user assigned identity to be used to fetch MSI token.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UserAssignedProperties withResourceId(String resourceId)

Set the resourceId property: Arm resource id for user assigned identity to be used to fetch MSI token.

Methods inherited from java.lang.Object

Constructor Details

UserAssignedProperties

public UserAssignedProperties()

Creates an instance of UserAssignedProperties class.

Method Details

fromJson

public static UserAssignedProperties fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceId

public String resourceId()

Get the resourceId property: Arm resource id for user assigned identity to be used to fetch MSI token.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceId

public UserAssignedProperties withResourceId(String resourceId)

Set the resourceId property: Arm resource id for user assigned identity to be used to fetch MSI token.

Parameters:

resourceId - the resourceId value to set.

Returns:

the UserAssignedProperties object itself.

Applies to