Class EncryptionIdentity
java.lang.Object
com.azure.resourcemanager.storage.models.EncryptionIdentity
Encryption identity for the storage account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get the encryptionUserAssignedIdentity property: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.voidvalidate()Validates the instance.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.withEncryptionUserAssignedIdentity(String encryptionUserAssignedIdentity) Set the encryptionUserAssignedIdentity property: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
-
Constructor Details
-
EncryptionIdentity
public EncryptionIdentity()Creates an instance of EncryptionIdentity class.
-
-
Method Details
-
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.
-
withEncryptionUserAssignedIdentity
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.
-
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.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-