EncryptionKeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. EncryptionKeyVaultProperties
- com.
Implements
public final class EncryptionKeyVaultProperties
implements JsonSerializable<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 |
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
| String |
keyName()
Get the key |
|
Encryption |
keyState()
Get the key |
| String |
keyVaultUrl()
Get the key |
| String |
keyVersion()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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:
fromJson
public static EncryptionKeyVaultProperties fromJson(JsonReader jsonReader)
Reads an instance of EncryptionKeyVaultProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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: