KeyVaultProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.storage.KeyVaultProperties

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 KeyVault key.

java.lang.String keyVaultUri()

Get the Uri of KeyVault.

java.lang.String keyVersion()

Get the version of KeyVault key.

org.joda.time.DateTime lastKeyRotationTimestamp()

Get timestamp of last rotation of the Key Vault Key.

KeyVaultProperties withKeyName(String keyName)

Set the name of KeyVault key.

KeyVaultProperties withKeyVaultUri(String keyVaultUri)

Set the Uri of KeyVault.

KeyVaultProperties withKeyVersion(String keyVersion)

Set the version of KeyVault key.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the currentVersionedKeyIdentifier value

keyName

public String keyName()

Get the name of KeyVault key.

Returns:

the keyName value

keyVaultUri

public String keyVaultUri()

Get the Uri of KeyVault.

Returns:

the keyVaultUri value

keyVersion

public String keyVersion()

Get the version of KeyVault key.

Returns:

the keyVersion value

lastKeyRotationTimestamp

public DateTime lastKeyRotationTimestamp()

Get timestamp of last rotation of the Key Vault Key.

Returns:

the lastKeyRotationTimestamp value

withKeyName

public KeyVaultProperties withKeyName(String keyName)

Set the name of KeyVault key.

Parameters:

keyName - the keyName value to set

Returns:

the KeyVaultProperties object itself.

withKeyVaultUri

public KeyVaultProperties withKeyVaultUri(String keyVaultUri)

Set the Uri of KeyVault.

Parameters:

keyVaultUri - the keyVaultUri value to set

Returns:

the KeyVaultProperties object itself.

withKeyVersion

public KeyVaultProperties withKeyVersion(String keyVersion)

Set the version of KeyVault key.

Parameters:

keyVersion - the keyVersion value to set

Returns:

the KeyVaultProperties object itself.

Applies to