次の方法で共有


IdentityProperties Class

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

Implements

public final class IdentityProperties
implements JsonSerializable<IdentityProperties>

Managed identity properties.

Constructor Summary

Constructor Description
IdentityProperties()

Creates an instance of IdentityProperties class.

Method Summary

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

Reads an instance of IdentityProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Managed service identity type.

UserAssignedProperties userAssigned()

Get the userAssigned property: User assigned identity properties.

void validate()

Validates the instance.

IdentityProperties withType(String type)

Set the type property: Managed service identity type.

IdentityProperties withUserAssigned(UserAssignedProperties userAssigned)

Set the userAssigned property: User assigned identity properties.

Methods inherited from java.lang.Object

Constructor Details

IdentityProperties

public IdentityProperties()

Creates an instance of IdentityProperties class.

Method Details

fromJson

public static IdentityProperties fromJson(JsonReader jsonReader)

Reads an instance of IdentityProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Managed service identity type.

Returns:

the type value.

userAssigned

public UserAssignedProperties userAssigned()

Get the userAssigned property: User assigned identity properties.

Returns:

the userAssigned value.

validate

public void validate()

Validates the instance.

withType

public IdentityProperties withType(String type)

Set the type property: Managed service identity type.

Parameters:

type - the type value to set.

Returns:

the IdentityProperties object itself.

withUserAssigned

public IdentityProperties withUserAssigned(UserAssignedProperties userAssigned)

Set the userAssigned property: User assigned identity properties.

Parameters:

userAssigned - the userAssigned value to set.

Returns:

the IdentityProperties object itself.

Applies to