Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
Describes a reference to Key Vault Key.
/**
* Describes a reference to Key Vault Key.
*/
public class KeyVaultKeyReference {
The URL referencing a key encryption key in Key Vault.
/**
* The URL referencing a key encryption key in Key Vault.
*/
@JsonProperty(value = "keyUrl", required = true)
private String keyUrl;
The relative URL of the Key Vault containing the key.
/**
* The relative URL of the Key Vault containing the key.
*/
@JsonProperty(value = "sourceVault", required = true)
private SubResource sourceVault;
Get the URL referencing a key encryption key in Key Vault.
Returns: the keyUrl value
/**
* Get the URL referencing a key encryption key in Key Vault.
*
* @return the keyUrl value
*/
public String keyUrl() {
return this.keyUrl;
}
Set the URL referencing a key encryption key in Key Vault.
Params: - keyUrl – the keyUrl value to set
Returns: the KeyVaultKeyReference object itself.
/**
* Set the URL referencing a key encryption key in Key Vault.
*
* @param keyUrl the keyUrl value to set
* @return the KeyVaultKeyReference object itself.
*/
public KeyVaultKeyReference withKeyUrl(String keyUrl) {
this.keyUrl = keyUrl;
return this;
}
Get the relative URL of the Key Vault containing the key.
Returns: the sourceVault value
/**
* Get the relative URL of the Key Vault containing the key.
*
* @return the sourceVault value
*/
public SubResource sourceVault() {
return this.sourceVault;
}
Set the relative URL of the Key Vault containing the key.
Params: - sourceVault – the sourceVault value to set
Returns: the KeyVaultKeyReference object itself.
/**
* Set the relative URL of the Key Vault containing the key.
*
* @param sourceVault the sourceVault value to set
* @return the KeyVaultKeyReference object itself.
*/
public KeyVaultKeyReference withSourceVault(SubResource sourceVault) {
this.sourceVault = sourceVault;
return this;
}
}