Class Encryption
java.lang.Object
com.azure.resourcemanager.eventhubs.models.Encryption
Properties to configure Encryption.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the keySource property: Enumerates the possible value of keySource for Encryption.Get the keyVaultProperties property: Properties of KeyVault.Get the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).void
validate()
Validates the instance.withKeySource
(KeySource keySource) Set the keySource property: Enumerates the possible value of keySource for Encryption.withKeyVaultProperties
(List<KeyVaultProperties> keyVaultProperties) Set the keyVaultProperties property: Properties of KeyVault.withRequireInfrastructureEncryption
(Boolean requireInfrastructureEncryption) Set the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).
-
Constructor Details
-
Encryption
public Encryption()
-
-
Method Details
-
keyVaultProperties
Get the keyVaultProperties property: Properties of KeyVault.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: Properties of KeyVault.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the Encryption object itself.
-
keySource
Get the keySource property: Enumerates the possible value of keySource for Encryption.- Returns:
- the keySource value.
-
withKeySource
Set the keySource property: Enumerates the possible value of keySource for Encryption.- Parameters:
keySource
- the keySource value to set.- Returns:
- the Encryption object itself.
-
requireInfrastructureEncryption
Get the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).- Returns:
- the requireInfrastructureEncryption value.
-
withRequireInfrastructureEncryption
Set the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).- Parameters:
requireInfrastructureEncryption
- the requireInfrastructureEncryption value to set.- Returns:
- the Encryption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-