EncryptionIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. EncryptionIdentity
- com.
Implements
public final class EncryptionIdentity
implements JsonSerializable<EncryptionIdentity>
Encryption identity for the storage account.
Constructor Summary
Constructor | Description |
---|---|
EncryptionIdentity() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
encryptionFederatedIdentityClientId()
Get the encryption |
String |
encryptionUserAssignedIdentity()
Get the encryption |
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Encryption |
withEncryptionFederatedIdentityClientId(String encryptionFederatedIdentityClientId)
Set the encryption |
Encryption |
withEncryptionUserAssignedIdentity(String encryptionUserAssignedIdentity)
Set the encryption |
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:
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:
fromJson
public static EncryptionIdentity fromJson(JsonReader jsonReader)
Reads an instance of EncryptionIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java