Class EncryptionProperties

java.lang.Object
com.azure.resourcemanager.loadtestservice.models.EncryptionProperties

public final class EncryptionProperties extends Object
Key and identity details for Customer Managed Key encryption of load test resource.
  • Constructor Details

    • EncryptionProperties

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

    • identity

      public EncryptionPropertiesIdentity identity()
      Get the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
      Returns:
      the identity value.
    • withIdentity

      public EncryptionProperties withIdentity(EncryptionPropertiesIdentity identity)
      Set the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
      Parameters:
      identity - the identity value to set.
      Returns:
      the EncryptionProperties object itself.
    • keyUrl

      public String keyUrl()
      Get the keyUrl property: key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
      Returns:
      the keyUrl value.
    • withKeyUrl

      public EncryptionProperties withKeyUrl(String keyUrl)
      Set the keyUrl property: key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
      Parameters:
      keyUrl - the keyUrl value to set.
      Returns:
      the EncryptionProperties object itself.
    • validate

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