CustomerManagedKeyEncryption Class

  • java.lang.Object
    • com.azure.resourcemanager.maps.models.CustomerManagedKeyEncryption

public final class CustomerManagedKeyEncryption

All Customer-managed key encryption properties for the resource.

Constructor Summary

Constructor Description
CustomerManagedKeyEncryption()

Creates an instance of CustomerManagedKeyEncryption class.

Method Summary

Modifier and Type Method and Description
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.

String keyEncryptionKeyUrl()

Get the keyEncryptionKeyUrl property: key encryption key Url, versioned or non-versioned.

void validate()

Validates the instance.

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.

CustomerManagedKeyEncryption withKeyEncryptionKeyUrl(String keyEncryptionKeyUrl)

Set the keyEncryptionKeyUrl property: key encryption key Url, versioned or non-versioned.

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:

the keyEncryptionKeyIdentity value.

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:

the keyEncryptionKeyUrl value.

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:

keyEncryptionKeyIdentity - the keyEncryptionKeyIdentity value to set.

Returns:

the CustomerManagedKeyEncryption object itself.

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:

keyEncryptionKeyUrl - the keyEncryptionKeyUrl value to set.

Returns:

the CustomerManagedKeyEncryption object itself.

Applies to