Class KeyVaultKeyReference
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.KeyVaultKeyReference
-
public final class KeyVaultKeyReference extends Object
Describes a reference to Key Vault Key.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultKeyReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
keyUrl()
Get the keyUrl property: The URL referencing a key encryption key in Key Vault.KeyVaultKeyReferenceSourceVault
sourceVault()
Get the sourceVault property: Describes a resource Id to source Key Vault.void
validate()
Validates the instance.KeyVaultKeyReference
withKeyUrl(String keyUrl)
Set the keyUrl property: The URL referencing a key encryption key in Key Vault.KeyVaultKeyReference
withSourceVault(KeyVaultKeyReferenceSourceVault sourceVault)
Set the sourceVault property: Describes a resource Id to source Key Vault.
-
-
-
Method Detail
-
keyUrl
public String keyUrl()
Get the keyUrl property: The URL referencing a key encryption key in Key Vault.- Returns:
- the keyUrl value.
-
withKeyUrl
public KeyVaultKeyReference withKeyUrl(String keyUrl)
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
public KeyVaultKeyReferenceSourceVault sourceVault()
Get the sourceVault property: Describes a resource Id to source Key Vault.- Returns:
- the sourceVault value.
-
withSourceVault
public KeyVaultKeyReference withSourceVault(KeyVaultKeyReferenceSourceVault sourceVault)
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.
-
-