Class KeyVaultProperties


  • public final class KeyVaultProperties
    extends Object
    Properties of the key vault.
    • Constructor Detail

      • KeyVaultProperties

        public KeyVaultProperties()
    • Method Detail

      • keyName

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

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

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

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

        public String keyVaultUri()
        Get the keyVaultUri property: The Uri of the key vault.
        Returns:
        the keyVaultUri value.
      • withKeyVaultUri

        public KeyVaultProperties withKeyVaultUri​(String keyVaultUri)
        Set the keyVaultUri property: The Uri of the key vault.
        Parameters:
        keyVaultUri - the keyVaultUri value to set.
        Returns:
        the KeyVaultProperties object itself.
      • userIdentity

        public String userIdentity()
        Get the userIdentity property: The user assigned identity (ARM resource id) that has access to the key.
        Returns:
        the userIdentity value.
      • withUserIdentity

        public KeyVaultProperties withUserIdentity​(String userIdentity)
        Set the userIdentity property: The user assigned identity (ARM resource id) that has access to the key.
        Parameters:
        userIdentity - the userIdentity value to set.
        Returns:
        the KeyVaultProperties object itself.
      • validate

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