public final class KeyVaultProperties extends Object
| Constructor and Description |
|---|
KeyVaultProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
currentVersionedKeyIdentifier()
Get the currentVersionedKeyIdentifier property: The object identifier of the current versioned Key Vault Key in
use.
|
String |
keyName()
Get the keyName property: The name of KeyVault key.
|
String |
keyVaultUri()
Get the keyVaultUri property: The Uri of KeyVault.
|
String |
keyVersion()
Get the keyVersion property: The version of KeyVault key.
|
OffsetDateTime |
lastKeyRotationTimestamp()
Get the lastKeyRotationTimestamp property: Timestamp of last rotation of the Key Vault Key.
|
void |
validate()
Validates the instance.
|
KeyVaultProperties |
withKeyName(String keyName)
Set the keyName property: The name of KeyVault key.
|
KeyVaultProperties |
withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: The Uri of KeyVault.
|
KeyVaultProperties |
withKeyVersion(String keyVersion)
Set the keyVersion property: The version of KeyVault key.
|
public String keyName()
public KeyVaultProperties withKeyName(String keyName)
keyName - the keyName value to set.public String keyVersion()
public KeyVaultProperties withKeyVersion(String keyVersion)
keyVersion - the keyVersion value to set.public String keyVaultUri()
public KeyVaultProperties withKeyVaultUri(String keyVaultUri)
keyVaultUri - the keyVaultUri value to set.public String currentVersionedKeyIdentifier()
public OffsetDateTime lastKeyRotationTimestamp()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.