Class KeyVaultKeyProperties

java.lang.Object
com.azure.resourcemanager.iothub.models.KeyVaultKeyProperties

public final class KeyVaultKeyProperties extends Object
The properties of the KeyVault key.
  • Constructor Details

    • KeyVaultKeyProperties

      public KeyVaultKeyProperties()
  • Method Details

    • keyIdentifier

      public String keyIdentifier()
      Get the keyIdentifier property: The identifier of the key.
      Returns:
      the keyIdentifier value.
    • withKeyIdentifier

      public KeyVaultKeyProperties withKeyIdentifier(String keyIdentifier)
      Set the keyIdentifier property: The identifier of the key.
      Parameters:
      keyIdentifier - the keyIdentifier value to set.
      Returns:
      the KeyVaultKeyProperties object itself.
    • identity

      public ManagedIdentity identity()
      Get the identity property: Managed identity properties of KeyVault Key.
      Returns:
      the identity value.
    • withIdentity

      public KeyVaultKeyProperties withIdentity(ManagedIdentity identity)
      Set the identity property: Managed identity properties of KeyVault Key.
      Parameters:
      identity - the identity value to set.
      Returns:
      the KeyVaultKeyProperties object itself.
    • validate

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