CustomerManagedKeyEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. maps. models. CustomerManagedKeyEncryption
- com.
public final class CustomerManagedKeyEncryption
All Customer-managed key encryption properties for the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerManagedKeyEncryption() |
Creates an instance of Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Customer |
keyEncryptionKeyIdentity()
Get the key |
| String |
keyEncryptionKeyUrl()
Get the key |
| void |
validate()
Validates the instance. |
|
Customer |
withKeyEncryptionKeyIdentity(CustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity)
Set the key |
|
Customer |
withKeyEncryptionKeyUrl(String keyEncryptionKeyUrl)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
CustomerManagedKeyEncryption
public CustomerManagedKeyEncryption()
Creates an instance of CustomerManagedKeyEncryption class.
Method Details
keyEncryptionKeyIdentity
public CustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity()
Get the keyEncryptionKeyIdentity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Returns:
keyEncryptionKeyUrl
public String keyEncryptionKeyUrl()
Get the keyEncryptionKeyUrl property: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
Returns:
validate
public void validate()
Validates the instance.
withKeyEncryptionKeyIdentity
public CustomerManagedKeyEncryption withKeyEncryptionKeyIdentity(CustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity)
Set the keyEncryptionKeyIdentity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Parameters:
Returns:
withKeyEncryptionKeyUrl
public CustomerManagedKeyEncryption withKeyEncryptionKeyUrl(String keyEncryptionKeyUrl)
Set the keyEncryptionKeyUrl property: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
Parameters:
Returns: