Class EncryptionProperties
java.lang.Object
com.azure.resourcemanager.batch.models.EncryptionProperties
Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a
Microsoft managed key. For additional control, a customer-managed key can be used instead.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the keySource property: Type of the key source.Get the keyVaultProperties property: Additional details when using Microsoft.KeyVault.void
validate()
Validates the instance.withKeySource
(KeySource keySource) Set the keySource property: Type of the key source.withKeyVaultProperties
(KeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: Additional details when using Microsoft.KeyVault.
-
Constructor Details
-
EncryptionProperties
public EncryptionProperties()Creates an instance of EncryptionProperties class.
-
-
Method Details
-
keySource
Get the keySource property: Type of the key source.- Returns:
- the keySource value.
-
withKeySource
Set the keySource property: Type of the key source.- Parameters:
keySource
- the keySource value to set.- Returns:
- the EncryptionProperties object itself.
-
keyVaultProperties
Get the keyVaultProperties property: Additional details when using Microsoft.KeyVault.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: Additional details when using Microsoft.KeyVault.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the EncryptionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-