Class EncryptionProperties
java.lang.Object
com.azure.resourcemanager.loadtestservice.models.EncryptionProperties
Key and identity details for Customer Managed Key encryption of load test resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.keyUrl()
Get the keyUrl property: key encryption key Url, versioned.void
validate()
Validates the instance.withIdentity
(EncryptionPropertiesIdentity identity) Set the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.withKeyUrl
(String keyUrl) Set the keyUrl property: key encryption key Url, versioned.
-
Constructor Details
-
EncryptionProperties
public EncryptionProperties()Creates an instance of EncryptionProperties class.
-
-
Method Details
-
identity
Get the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.- Returns:
- the identity value.
-
withIdentity
Set the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.- Parameters:
identity
- the identity value to set.- Returns:
- the EncryptionProperties object itself.
-
keyUrl
Get the keyUrl property: key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.- Returns:
- the keyUrl value.
-
withKeyUrl
Set the keyUrl property: key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.- Parameters:
keyUrl
- the keyUrl value to set.- Returns:
- the EncryptionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-