KeyVaultProperties Class
- java.
lang. Object - com.
microsoft. azure. management. storage. KeyVaultProperties
- com.
public class KeyVaultProperties
Properties of key vault.
Constructor Summary
Constructor | Description | |
---|---|---|
KeyVaultProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
currentVersionedKeyIdentifier()
Get the object identifier of the current versioned Key Vault Key in use. |
java.lang.String |
keyName()
Get the name of Key |
java.lang.String |
keyVaultUri()
Get the Uri of Key |
java.lang.String |
keyVersion()
Get the version of Key |
org.joda.time.DateTime |
lastKeyRotationTimestamp()
Get timestamp of last rotation of the Key Vault Key. |
Key |
withKeyName(String keyName)
Set the name of Key |
Key |
withKeyVaultUri(String keyVaultUri)
Set the Uri of Key |
Key |
withKeyVersion(String keyVersion)
Set the version of Key |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultProperties
public KeyVaultProperties()
Method Details
currentVersionedKeyIdentifier
public String currentVersionedKeyIdentifier()
Get the object identifier of the current versioned Key Vault Key in use.
Returns:
keyName
public String keyName()
Get the name of KeyVault key.
Returns:
keyVaultUri
public String keyVaultUri()
Get the Uri of KeyVault.
Returns:
keyVersion
public String keyVersion()
Get the version of KeyVault key.
Returns:
lastKeyRotationTimestamp
public DateTime lastKeyRotationTimestamp()
Get timestamp of last rotation of the Key Vault Key.
Returns:
withKeyName
public KeyVaultProperties withKeyName(String keyName)
Set the name of KeyVault key.
Parameters:
Returns:
withKeyVaultUri
public KeyVaultProperties withKeyVaultUri(String keyVaultUri)
Set the Uri of KeyVault.
Parameters:
Returns:
withKeyVersion
public KeyVaultProperties withKeyVersion(String keyVersion)
Set the version of KeyVault key.
Parameters:
Returns:
Applies to
Azure SDK for Java