Class EncryptionKeyVaultProperties
java.lang.Object
com.azure.resourcemanager.avs.models.EncryptionKeyVaultProperties
An Encryption Key.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EncryptionKeyVaultProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the autoDetectedKeyVersion property: The auto-detected version of the key if versionType is auto-detected.keyName()
Get the keyName property: The name of the key.keyState()
Get the keyState property: The state of key provided.Get the keyVaultUrl property: The URL of the vault.Get the keyVersion property: The version of the key.void
validate()
Validates the instance.Get the versionType property: Property of the key if user provided or auto detected.withKeyName
(String keyName) Set the keyName property: The name of the key.withKeyVaultUrl
(String keyVaultUrl) Set the keyVaultUrl property: The URL of the vault.withKeyVersion
(String keyVersion) Set the keyVersion property: The version of the key.
-
Constructor Details
-
EncryptionKeyVaultProperties
public EncryptionKeyVaultProperties()Creates an instance of EncryptionKeyVaultProperties class.
-
-
Method Details
-
keyName
Get the keyName property: The name of the key.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The name of the key.- Parameters:
keyName
- the keyName value to set.- Returns:
- the EncryptionKeyVaultProperties object itself.
-
keyVersion
Get the keyVersion property: The version of the key.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: The version of the key.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the EncryptionKeyVaultProperties object itself.
-
autoDetectedKeyVersion
Get the autoDetectedKeyVersion property: The auto-detected version of the key if versionType is auto-detected.- Returns:
- the autoDetectedKeyVersion value.
-
keyVaultUrl
Get the keyVaultUrl property: The URL of the vault.- Returns:
- the keyVaultUrl value.
-
withKeyVaultUrl
Set the keyVaultUrl property: The URL of the vault.- Parameters:
keyVaultUrl
- the keyVaultUrl value to set.- Returns:
- the EncryptionKeyVaultProperties object itself.
-
keyState
Get the keyState property: The state of key provided.- Returns:
- the keyState value.
-
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.
-