public final class KeyVaultKeyReference extends Object
Constructor and Description |
---|
KeyVaultKeyReference() |
Modifier and Type | Method and Description |
---|---|
String |
keyUrl()
Get the keyUrl property: The URL referencing a key encryption key in Key Vault.
|
com.azure.core.management.SubResource |
sourceVault()
Get the sourceVault property: The relative URL of the Key Vault containing the key.
|
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(com.azure.core.management.SubResource sourceVault)
Set the sourceVault property: The relative URL of the Key Vault containing the key.
|
public String keyUrl()
public KeyVaultKeyReference withKeyUrl(String keyUrl)
keyUrl
- the keyUrl value to set.public com.azure.core.management.SubResource sourceVault()
public KeyVaultKeyReference withSourceVault(com.azure.core.management.SubResource sourceVault)
sourceVault
- the sourceVault value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.