EncryptionIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.EncryptionIdentity

Implements

public final class EncryptionIdentity
implements JsonSerializable<EncryptionIdentity>

Encryption identity for the storage account.

Constructor Summary

Constructor Description
EncryptionIdentity()

Creates an instance of EncryptionIdentity class.

Method Summary

Modifier and Type Method and Description
String encryptionFederatedIdentityClientId()

Get the encryptionFederatedIdentityClientId property: ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.

String encryptionUserAssignedIdentity()

Get the encryptionUserAssignedIdentity property: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.

static EncryptionIdentity fromJson(JsonReader jsonReader)

Reads an instance of EncryptionIdentity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EncryptionIdentity withEncryptionFederatedIdentityClientId(String encryptionFederatedIdentityClientId)

Set the encryptionFederatedIdentityClientId property: ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.

EncryptionIdentity withEncryptionUserAssignedIdentity(String encryptionUserAssignedIdentity)

Set the encryptionUserAssignedIdentity property: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.

Methods inherited from java.lang.Object

Constructor Details

EncryptionIdentity

public EncryptionIdentity()

Creates an instance of EncryptionIdentity class.

Method Details

encryptionFederatedIdentityClientId

public String encryptionFederatedIdentityClientId()

Get the encryptionFederatedIdentityClientId property: ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.

Returns:

the encryptionFederatedIdentityClientId value.

encryptionUserAssignedIdentity

public String encryptionUserAssignedIdentity()

Get the encryptionUserAssignedIdentity property: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.

Returns:

the encryptionUserAssignedIdentity value.

fromJson

public static EncryptionIdentity fromJson(JsonReader jsonReader)

Reads an instance of EncryptionIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEncryptionFederatedIdentityClientId

public EncryptionIdentity withEncryptionFederatedIdentityClientId(String encryptionFederatedIdentityClientId)

Set the encryptionFederatedIdentityClientId property: ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.

Parameters:

encryptionFederatedIdentityClientId - the encryptionFederatedIdentityClientId value to set.

Returns:

the EncryptionIdentity object itself.

withEncryptionUserAssignedIdentity

public EncryptionIdentity withEncryptionUserAssignedIdentity(String encryptionUserAssignedIdentity)

Set the encryptionUserAssignedIdentity property: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.

Parameters:

encryptionUserAssignedIdentity - the encryptionUserAssignedIdentity value to set.

Returns:

the EncryptionIdentity object itself.

Applies to