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.fasterxml.jackson.annotation.JsonProperty;
Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey.
/** * Key Vault Key Url and vault id of KeK, KeK is optional and when provided is * used to unwrap the encryptionKey. */
public class KeyVaultAndKeyReference {
Resource id of the KeyVault containing the key or secret.
/** * Resource id of the KeyVault containing the key or secret. */
@JsonProperty(value = "sourceVault", required = true) private SourceVault sourceVault;
Url pointing to a key or secret in KeyVault.
/** * Url pointing to a key or secret in KeyVault. */
@JsonProperty(value = "keyUrl", required = true) private String keyUrl;
Get resource id of the KeyVault containing the key or secret.
Returns:the sourceVault value
/** * Get resource id of the KeyVault containing the key or secret. * * @return the sourceVault value */
public SourceVault sourceVault() { return this.sourceVault; }
Set resource id of the KeyVault containing the key or secret.
Params:
  • sourceVault – the sourceVault value to set
Returns:the KeyVaultAndKeyReference object itself.
/** * Set resource id of the KeyVault containing the key or secret. * * @param sourceVault the sourceVault value to set * @return the KeyVaultAndKeyReference object itself. */
public KeyVaultAndKeyReference withSourceVault(SourceVault sourceVault) { this.sourceVault = sourceVault; return this; }
Get url pointing to a key or secret in KeyVault.
Returns:the keyUrl value
/** * Get url pointing to a key or secret in KeyVault. * * @return the keyUrl value */
public String keyUrl() { return this.keyUrl; }
Set url pointing to a key or secret in KeyVault.
Params:
  • keyUrl – the keyUrl value to set
Returns:the KeyVaultAndKeyReference object itself.
/** * Set url pointing to a key or secret in KeyVault. * * @param keyUrl the keyUrl value to set * @return the KeyVaultAndKeyReference object itself. */
public KeyVaultAndKeyReference withKeyUrl(String keyUrl) { this.keyUrl = keyUrl; return this; } }