KeyVaultKeyReference Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. KeyVaultKeyReference
- com.
Implements
public final class KeyVaultKeyReference
implements JsonSerializable<KeyVaultKeyReference>
Describes a reference to Key Vault Key.
Constructor Summary
Constructor | Description |
---|---|
KeyVaultKeyReference() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads an instance of Key |
String |
keyUrl()
Get the key |
Sub |
sourceVault()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Key |
withKeyUrl(String keyUrl)
Set the key |
Key |
withSourceVault(SubResource sourceVault)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultKeyReference
public KeyVaultKeyReference()
Creates an instance of KeyVaultKeyReference class.
Method Details
fromJson
public static KeyVaultKeyReference fromJson(JsonReader jsonReader)
Reads an instance of KeyVaultKeyReference from the JsonReader.
Parameters:
Returns:
Throws:
keyUrl
public String keyUrl()
Get the keyUrl property: The URL referencing a key encryption key in Key Vault.
Returns:
sourceVault
public SubResource sourceVault()
Get the sourceVault property: The relative URL of the Key Vault containing the key.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyUrl
public KeyVaultKeyReference withKeyUrl(String keyUrl)
Set the keyUrl property: The URL referencing a key encryption key in Key Vault.
Parameters:
Returns:
withSourceVault
public KeyVaultKeyReference withSourceVault(SubResource sourceVault)
Set the sourceVault property: The relative URL of the Key Vault containing the key.
Parameters:
Returns:
Applies to
Azure SDK for Java