EncryptionSettings Class
- java.
lang. Object - com.
microsoft. azure. management. compute. EncryptionSettings
- com.
public class EncryptionSettings
Encryption settings for disk or snapshot.
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
diskEncryptionKey()
Get the diskEncryptionKey value. |
Boolean |
enabled()
Get the enabled value. |
Key |
keyEncryptionKey()
Get the keyEncryptionKey value. |
Encryption |
withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)
Set the diskEncryptionKey value. |
Encryption |
withEnabled(Boolean enabled)
Set the enabled value. |
Encryption |
withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)
Set the keyEncryptionKey value. |
Method Details
diskEncryptionKey
public KeyVaultAndSecretReference diskEncryptionKey()
Get the diskEncryptionKey value.
Returns:
enabled
public Boolean enabled()
Get the enabled value.
Returns:
keyEncryptionKey
public KeyVaultAndKeyReference keyEncryptionKey()
Get the keyEncryptionKey value.
Returns:
withDiskEncryptionKey
public EncryptionSettings withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)
Set the diskEncryptionKey value.
Parameters:
Returns:
withEnabled
public EncryptionSettings withEnabled(Boolean enabled)
Set the enabled value.
Parameters:
Returns:
withKeyEncryptionKey
public EncryptionSettings withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)
Set the keyEncryptionKey value.
Parameters:
Returns:
Applies to
Azure SDK for Java