Class KeyVaultProperties
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.KeyVaultProperties
-
public final class KeyVaultProperties extends Object
Properties of key vault.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcurrentVersionedKeyIdentifier()Get the currentVersionedKeyIdentifier property: The object identifier of the current versioned Key Vault Key in use.StringkeyName()Get the keyName property: The name of KeyVault key.StringkeyVaultUri()Get the keyVaultUri property: The Uri of KeyVault.StringkeyVersion()Get the keyVersion property: The version of KeyVault key.OffsetDateTimelastKeyRotationTimestamp()Get the lastKeyRotationTimestamp property: Timestamp of last rotation of the Key Vault Key.voidvalidate()Validates the instance.KeyVaultPropertieswithKeyName(String keyName)Set the keyName property: The name of KeyVault key.KeyVaultPropertieswithKeyVaultUri(String keyVaultUri)Set the keyVaultUri property: The Uri of KeyVault.KeyVaultPropertieswithKeyVersion(String keyVersion)Set the keyVersion property: The version of KeyVault key.
-
-
-
Method Detail
-
keyName
public String keyName()
Get the keyName property: The name of KeyVault key.- Returns:
- the keyName value.
-
withKeyName
public KeyVaultProperties withKeyName(String keyName)
Set the keyName property: The name of KeyVault key.- Parameters:
keyName- the keyName value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVersion
public String keyVersion()
Get the keyVersion property: The version of KeyVault key.- Returns:
- the keyVersion value.
-
withKeyVersion
public KeyVaultProperties withKeyVersion(String keyVersion)
Set the keyVersion property: The version of KeyVault key.- Parameters:
keyVersion- the keyVersion value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVaultUri
public String keyVaultUri()
Get the keyVaultUri property: The Uri of KeyVault.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
public KeyVaultProperties withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: The Uri of KeyVault.- Parameters:
keyVaultUri- the keyVaultUri value to set.- Returns:
- the KeyVaultProperties object itself.
-
currentVersionedKeyIdentifier
public String currentVersionedKeyIdentifier()
Get the currentVersionedKeyIdentifier property: The object identifier of the current versioned Key Vault Key in use.- Returns:
- the currentVersionedKeyIdentifier value.
-
lastKeyRotationTimestamp
public OffsetDateTime lastKeyRotationTimestamp()
Get the lastKeyRotationTimestamp property: Timestamp of last rotation of the Key Vault Key.- Returns:
- the lastKeyRotationTimestamp value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-