Class KeyVaultKeyReference

java.lang.Object
com.azure.resourcemanager.storagecache.models.KeyVaultKeyReference

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

    • KeyVaultKeyReference

      public KeyVaultKeyReference()
  • Method Details

    • 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 KeyVaultKeyReferenceSourceVault sourceVault()
      Get the sourceVault property: Describes a resource Id to source Key Vault.
      Returns:
      the sourceVault value.
    • withSourceVault

      public KeyVaultKeyReference withSourceVault(KeyVaultKeyReferenceSourceVault sourceVault)
      Set the sourceVault property: Describes a resource Id to source Key Vault.
      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.