KeyVaultKeyReference Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.KeyVaultKeyReference

public final class KeyVaultKeyReference

Describes a reference to Key Vault Key.

Constructor Summary

Constructor Description
KeyVaultKeyReference()

Creates an instance of KeyVaultKeyReference class.

Method Summary

Modifier and Type Method and Description
String keyUrl()

Get the keyUrl property: The URL referencing a key encryption key in Key Vault.

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(SubResource sourceVault)

Set the sourceVault property: The relative URL of the Key Vault containing the key.

Methods inherited from java.lang.Object

Constructor Details

KeyVaultKeyReference

public KeyVaultKeyReference()

Creates an instance of KeyVaultKeyReference class.

Method Details

keyUrl

public String keyUrl()

Get the keyUrl property: The URL referencing a key encryption key in Key Vault.

Returns:

the keyUrl value.

sourceVault

public SubResource sourceVault()

Get the sourceVault property: The relative URL of the Key Vault containing the key.

Returns:

the sourceVault value.

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:

keyUrl - the keyUrl value to set.

Returns:

the KeyVaultKeyReference object itself.

withSourceVault

public KeyVaultKeyReference withSourceVault(SubResource sourceVault)

Set the sourceVault property: The relative URL of the Key Vault containing the key.

Parameters:

sourceVault - the sourceVault value to set.

Returns:

the KeyVaultKeyReference object itself.

Applies to