Class EncryptionKeyVaultProperties


  • public final class EncryptionKeyVaultProperties
    extends Object
    An Encryption Key.
    • Constructor Detail

      • EncryptionKeyVaultProperties

        public EncryptionKeyVaultProperties()
    • Method Detail

      • keyName

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

        public EncryptionKeyVaultProperties withKeyName​(String keyName)
        Set the keyName property: The name of the key.
        Parameters:
        keyName - the keyName value to set.
        Returns:
        the EncryptionKeyVaultProperties object itself.
      • keyVersion

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

        public EncryptionKeyVaultProperties withKeyVersion​(String keyVersion)
        Set the keyVersion property: The version of the key.
        Parameters:
        keyVersion - the keyVersion value to set.
        Returns:
        the EncryptionKeyVaultProperties object itself.
      • keyVaultUrl

        public String keyVaultUrl()
        Get the keyVaultUrl property: The URL of the vault.
        Returns:
        the keyVaultUrl value.
      • withKeyVaultUrl

        public EncryptionKeyVaultProperties withKeyVaultUrl​(String keyVaultUrl)
        Set the keyVaultUrl property: The URL of the vault.
        Parameters:
        keyVaultUrl - the keyVaultUrl value to set.
        Returns:
        the EncryptionKeyVaultProperties object itself.
      • keyState

        public EncryptionKeyStatus keyState()
        Get the keyState property: The state of key provided.
        Returns:
        the keyState value.
      • versionType

        public EncryptionVersionType versionType()
        Get the versionType property: Property of the key if user provided or auto detected.
        Returns:
        the versionType value.
      • validate

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