CacheEncryptionSettings Class
- java.
lang. Object - com.
azure. resourcemanager. storagecache. models. CacheEncryptionSettings
- com.
public final class CacheEncryptionSettings
Cache encryption settings.
Constructor Summary
Constructor | Description |
---|---|
CacheEncryptionSettings() |
Creates an instance of Cache |
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
keyEncryptionKey()
Get the key |
Boolean |
rotationToLatestKeyVersionEnabled()
Get the rotation |
void |
validate()
Validates the instance. |
Cache |
withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
Set the key |
Cache |
withRotationToLatestKeyVersionEnabled(Boolean rotationToLatestKeyVersionEnabled)
Set the rotation |
Methods inherited from java.lang.Object
Constructor Details
CacheEncryptionSettings
public CacheEncryptionSettings()
Creates an instance of CacheEncryptionSettings class.
Method Details
keyEncryptionKey
public KeyVaultKeyReference keyEncryptionKey()
Get the keyEncryptionKey property: Specifies the location of the key encryption key in key vault.
Returns:
rotationToLatestKeyVersionEnabled
public Boolean rotationToLatestKeyVersionEnabled()
Get the rotationToLatestKeyVersionEnabled property: Specifies whether the service will automatically rotate to the newest version of the key in the key vault.
Returns:
validate
public void validate()
Validates the instance.
withKeyEncryptionKey
public CacheEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
Set the keyEncryptionKey property: Specifies the location of the key encryption key in key vault.
Parameters:
Returns:
withRotationToLatestKeyVersionEnabled
public CacheEncryptionSettings withRotationToLatestKeyVersionEnabled(Boolean rotationToLatestKeyVersionEnabled)
Set the rotationToLatestKeyVersionEnabled property: Specifies whether the service will automatically rotate to the newest version of the key in the key vault.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for