Class KeyVaultKeyReference


  • public final class KeyVaultKeyReference
    extends Object
    Describes a reference to Key Vault Key.
    • Constructor Detail

      • KeyVaultKeyReference

        public KeyVaultKeyReference()
    • Method Detail

      • keyUrl

        public String keyUrl()
        Get the keyUrl property: The URL referencing a key encryption key in Key Vault.
        Returns:
        the keyUrl value.
      • 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.
      • sourceVault

        public com.azure.core.management.SubResource sourceVault()
        Get the sourceVault property: The relative URL of the Key Vault containing the key.
        Returns:
        the sourceVault value.
      • withSourceVault

        public KeyVaultKeyReference withSourceVault​(com.azure.core.management.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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.