Class KeyVaultKeyReference
java.lang.Object
com.azure.resourcemanager.storagecache.models.KeyVaultKeyReference
Describes a reference to Key Vault Key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyUrl()
Get the keyUrl property: The URL referencing a key encryption key in Key Vault.Get the sourceVault property: Describes a resource Id to source Key Vault.void
validate()
Validates the instance.withKeyUrl
(String keyUrl) Set the keyUrl property: The URL referencing a key encryption key in Key Vault.withSourceVault
(KeyVaultKeyReferenceSourceVault sourceVault) Set the sourceVault property: Describes a resource Id to source Key Vault.
-
Constructor Details
-
KeyVaultKeyReference
public KeyVaultKeyReference()
-
-
Method Details
-
keyUrl
Get the keyUrl property: The URL referencing a key encryption key in Key Vault.- Returns:
- the keyUrl value.
-
withKeyUrl
Set the keyUrl property: The URL referencing a key encryption key in Key Vault.- Parameters:
keyUrl
- the keyUrl value to set.- Returns:
- the KeyVaultKeyReference object itself.
-
sourceVault
Get the sourceVault property: Describes a resource Id to source Key Vault.- Returns:
- the sourceVault value.
-
withSourceVault
Set the sourceVault property: Describes a resource Id to source Key Vault.- Parameters:
sourceVault
- the sourceVault value to set.- Returns:
- the KeyVaultKeyReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-