Class EncryptionScopeKeyVaultProperties
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.EncryptionScopeKeyVaultProperties
-
public final class EncryptionScopeKeyVaultProperties extends Object
The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
-
-
Constructor Summary
Constructors Constructor Description EncryptionScopeKeyVaultProperties()
-
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.StringkeyUri()Get the keyUri property: The object identifier for a key vault key object.OffsetDateTimelastKeyRotationTimestamp()Get the lastKeyRotationTimestamp property: Timestamp of last rotation of the Key Vault Key.voidvalidate()Validates the instance.EncryptionScopeKeyVaultPropertieswithKeyUri(String keyUri)Set the keyUri property: The object identifier for a key vault key object.
-
-
-
Method Detail
-
keyUri
public String keyUri()
Get the keyUri property: The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.- Returns:
- the keyUri value.
-
withKeyUri
public EncryptionScopeKeyVaultProperties withKeyUri(String keyUri)
Set the keyUri property: The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.- Parameters:
keyUri- the keyUri value to set.- Returns:
- the EncryptionScopeKeyVaultProperties 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.
-
-