Share via


EncryptionIdentityProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.dell.storage.models.EncryptionIdentityProperties

Implements

public final class EncryptionIdentityProperties
implements JsonSerializable<EncryptionIdentityProperties>

EncryptionIdentityProperties of Dell FileSystem resource.

Constructor Summary

Constructor Description
EncryptionIdentityProperties()

Creates an instance of EncryptionIdentityProperties class.

Method Summary

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

Reads an instance of EncryptionIdentityProperties from the JsonReader.

String identityResourceId()

Get the identityResourceId property: User-assigned identity resource id - Only when user opts for UserAssigned identity and hence optional.

EncryptionIdentityType identityType()

Get the identityType property: Identity type - SystemAssigned/UserAssigned - Only UserAssigned is supported now.

JsonWriter toJson(JsonWriter jsonWriter)
EncryptionIdentityProperties withIdentityResourceId(String identityResourceId)

Set the identityResourceId property: User-assigned identity resource id - Only when user opts for UserAssigned identity and hence optional.

EncryptionIdentityProperties withIdentityType(EncryptionIdentityType identityType)

Set the identityType property: Identity type - SystemAssigned/UserAssigned - Only UserAssigned is supported now.

Methods inherited from java.lang.Object

Constructor Details

EncryptionIdentityProperties

public EncryptionIdentityProperties()

Creates an instance of EncryptionIdentityProperties class.

Method Details

fromJson

public static EncryptionIdentityProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionIdentityProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identityResourceId

public String identityResourceId()

Get the identityResourceId property: User-assigned identity resource id - Only when user opts for UserAssigned identity and hence optional.

Returns:

the identityResourceId value.

identityType

public EncryptionIdentityType identityType()

Get the identityType property: Identity type - SystemAssigned/UserAssigned - Only UserAssigned is supported now.

Returns:

the identityType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withIdentityResourceId

public EncryptionIdentityProperties withIdentityResourceId(String identityResourceId)

Set the identityResourceId property: User-assigned identity resource id - Only when user opts for UserAssigned identity and hence optional.

Parameters:

identityResourceId - the identityResourceId value to set.

Returns:

the EncryptionIdentityProperties object itself.

withIdentityType

public EncryptionIdentityProperties withIdentityType(EncryptionIdentityType identityType)

Set the identityType property: Identity type - SystemAssigned/UserAssigned - Only UserAssigned is supported now.

Parameters:

identityType - the identityType value to set.

Returns:

the EncryptionIdentityProperties object itself.

Applies to