EncryptionSettings Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. EncryptionSettings
- com.
Implements
public final class EncryptionSettings
implements JsonSerializable<EncryptionSettings>
Customer Managed Key details of the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionSettings() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
|
Infrastructure |
infrastructureEncryption()
Get the infrastructure |
|
Cmk |
kekIdentity()
Get the kek |
|
Cmk |
keyVaultProperties()
Get the key |
|
Encryption |
state()
Get the state property: Encryption state of the Backup Vault. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Encryption |
withInfrastructureEncryption(InfrastructureEncryptionState infrastructureEncryption)
Set the infrastructure |
|
Encryption |
withKekIdentity(CmkKekIdentity kekIdentity)
Set the kek |
|
Encryption |
withKeyVaultProperties(CmkKeyVaultProperties keyVaultProperties)
Set the key |
|
Encryption |
withState(EncryptionState state)
Set the state property: Encryption state of the Backup Vault. |
Methods inherited from java.lang.Object
Constructor Details
EncryptionSettings
public EncryptionSettings()
Creates an instance of EncryptionSettings class.
Method Details
fromJson
public static EncryptionSettings fromJson(JsonReader jsonReader)
Reads an instance of EncryptionSettings from the JsonReader.
Parameters:
Returns:
Throws:
infrastructureEncryption
public InfrastructureEncryptionState infrastructureEncryption()
Get the infrastructureEncryption property: Enabling/Disabling the Double Encryption state.
Returns:
kekIdentity
public CmkKekIdentity kekIdentity()
Get the kekIdentity property: The details of the managed identity used for CMK.
Returns:
keyVaultProperties
public CmkKeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: The properties of the Key Vault which hosts CMK.
Returns:
state
public EncryptionState state()
Get the state property: Encryption state of the Backup Vault.
Returns:
toJson
withInfrastructureEncryption
public EncryptionSettings withInfrastructureEncryption(InfrastructureEncryptionState infrastructureEncryption)
Set the infrastructureEncryption property: Enabling/Disabling the Double Encryption state.
Parameters:
Returns:
withKekIdentity
public EncryptionSettings withKekIdentity(CmkKekIdentity kekIdentity)
Set the kekIdentity property: The details of the managed identity used for CMK.
Parameters:
Returns:
withKeyVaultProperties
public EncryptionSettings withKeyVaultProperties(CmkKeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: The properties of the Key Vault which hosts CMK.
Parameters:
Returns:
withState
public EncryptionSettings withState(EncryptionState state)
Set the state property: Encryption state of the Backup Vault.
Parameters:
Returns: