EncryptionScopeKeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. EncryptionScopeKeyVaultProperties
- com.
Implements
public final class EncryptionScopeKeyVaultProperties
implements JsonSerializable<EncryptionScopeKeyVaultProperties>
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
Constructor | Description |
---|---|
EncryptionScopeKeyVaultProperties() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
currentVersionedKeyIdentifier()
Get the current |
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
String |
keyUri()
Get the key |
Offset |
lastKeyRotationTimestamp()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Encryption |
withKeyUri(String keyUri)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
EncryptionScopeKeyVaultProperties
public EncryptionScopeKeyVaultProperties()
Creates an instance of EncryptionScopeKeyVaultProperties class.
Method Details
currentVersionedKeyIdentifier
public String currentVersionedKeyIdentifier()
Get the currentVersionedKeyIdentifier property: The object identifier of the current versioned Key Vault Key in use.
Returns:
fromJson
public static EncryptionScopeKeyVaultProperties fromJson(JsonReader jsonReader)
Reads an instance of EncryptionScopeKeyVaultProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
lastKeyRotationTimestamp
public OffsetDateTime lastKeyRotationTimestamp()
Get the lastKeyRotationTimestamp property: Timestamp of last rotation of the Key Vault Key.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
Applies to
Azure SDK for Java