Class KeyVaultKeyReference

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

public final class KeyVaultKeyReference extends Object
The reference to the key vault key.
  • Constructor Details

    • KeyVaultKeyReference

      public KeyVaultKeyReference()
      Creates an instance of KeyVaultKeyReference class.
  • Method Details

    • keyVault

      public KeyVaultKeyReferenceKeyVault keyVault()
      Get the keyVault property: The key vault reference.
      Returns:
      the keyVault value.
    • withKeyVault

      public KeyVaultKeyReference withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)
      Set the keyVault property: The key vault reference.
      Parameters:
      keyVault - the keyVault value to set.
      Returns:
      the KeyVaultKeyReference object itself.
    • keyName

      public String keyName()
      Get the keyName property: The private key name in key vault.
      Returns:
      the keyName value.
    • withKeyName

      public KeyVaultKeyReference withKeyName(String keyName)
      Set the keyName property: The private key name in key vault.
      Parameters:
      keyName - the keyName value to set.
      Returns:
      the KeyVaultKeyReference object itself.
    • keyVersion

      public String keyVersion()
      Get the keyVersion property: The private key version in key vault.
      Returns:
      the keyVersion value.
    • withKeyVersion

      public KeyVaultKeyReference withKeyVersion(String keyVersion)
      Set the keyVersion property: The private key version in key vault.
      Parameters:
      keyVersion - the keyVersion value to set.
      Returns:
      the KeyVaultKeyReference object itself.
    • validate

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