Class AccountEncryption

java.lang.Object
com.azure.resourcemanager.mediaservices.models.AccountEncryption

public final class AccountEncryption extends Object
The AccountEncryption model.
  • Constructor Details

    • AccountEncryption

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

    • type

      public AccountEncryptionKeyType type()
      Get the type property: The type of key used to encrypt the Account Key.
      Returns:
      the type value.
    • withType

      Set the type property: The type of key used to encrypt the Account Key.
      Parameters:
      type - the type value to set.
      Returns:
      the AccountEncryption object itself.
    • keyVaultProperties

      public KeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: The properties of the key used to encrypt the account.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      Set the keyVaultProperties property: The properties of the key used to encrypt the account.
      Parameters:
      keyVaultProperties - the keyVaultProperties value to set.
      Returns:
      the AccountEncryption object itself.
    • identity

      public ResourceIdentity identity()
      Get the identity property: The Key Vault identity.
      Returns:
      the identity value.
    • withIdentity

      public AccountEncryption withIdentity(ResourceIdentity identity)
      Set the identity property: The Key Vault identity.
      Parameters:
      identity - the identity value to set.
      Returns:
      the AccountEncryption object itself.
    • status

      public String status()
      Get the status property: The current status of the Key Vault mapping.
      Returns:
      the status value.
    • validate

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