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()Creates an instance of KeyVaultKeyReference class.
-
-
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.
-