EncryptionKeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. EncryptionKeyVaultProperties
- com.
public final class EncryptionKeyVaultProperties
An Encryption Key.
Constructor Summary
Constructor | Description |
---|---|
EncryptionKeyVaultProperties() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
autoDetectedKeyVersion()
Get the auto |
String |
keyName()
Get the key |
Encryption |
keyState()
Get the key |
String |
keyVaultUrl()
Get the key |
String |
keyVersion()
Get the key |
void |
validate()
Validates the instance. |
Encryption |
versionType()
Get the version |
Encryption |
withKeyName(String keyName)
Set the key |
Encryption |
withKeyVaultUrl(String keyVaultUrl)
Set the key |
Encryption |
withKeyVersion(String keyVersion)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
EncryptionKeyVaultProperties
public EncryptionKeyVaultProperties()
Creates an instance of EncryptionKeyVaultProperties class.
Method Details
autoDetectedKeyVersion
public String autoDetectedKeyVersion()
Get the autoDetectedKeyVersion property: The auto-detected version of the key if versionType is auto-detected.
Returns:
keyName
public String keyName()
Get the keyName property: The name of the key.
Returns:
keyState
public EncryptionKeyStatus keyState()
Get the keyState property: The state of key provided.
Returns:
keyVaultUrl
public String keyVaultUrl()
Get the keyVaultUrl property: The URL of the vault.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: The version of the key.
Returns:
validate
public void validate()
Validates the instance.
versionType
public EncryptionVersionType versionType()
Get the versionType property: Property of the key if user provided or auto detected.
Returns:
withKeyName
public EncryptionKeyVaultProperties withKeyName(String keyName)
Set the keyName property: The name of the key.
Parameters:
Returns:
withKeyVaultUrl
public EncryptionKeyVaultProperties withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: The URL of the vault.
Parameters:
Returns:
withKeyVersion
public EncryptionKeyVaultProperties withKeyVersion(String keyVersion)
Set the keyVersion property: The version of the key.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for