Class EncryptionProperties
java.lang.Object
com.azure.resourcemanager.automation.models.EncryptionProperties
The encryption settings for automation account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: User identity used for CMK.Get the keySource property: Encryption Key Source.Get the keyVaultProperties property: Key vault properties.void
validate()
Validates the instance.withIdentity
(EncryptionPropertiesIdentity identity) Set the identity property: User identity used for CMK.withKeySource
(EncryptionKeySourceType keySource) Set the keySource property: Encryption Key Source.withKeyVaultProperties
(KeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: Key vault properties.
-
Constructor Details
-
EncryptionProperties
public EncryptionProperties()
-
-
Method Details
-
keyVaultProperties
Get the keyVaultProperties property: Key vault properties.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: Key vault properties.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the EncryptionProperties object itself.
-
keySource
Get the keySource property: Encryption Key Source.- Returns:
- the keySource value.
-
withKeySource
Set the keySource property: Encryption Key Source.- Parameters:
keySource
- the keySource value to set.- Returns:
- the EncryptionProperties object itself.
-
identity
Get the identity property: User identity used for CMK.- Returns:
- the identity value.
-
withIdentity
Set the identity property: User identity used for CMK.- Parameters:
identity
- the identity value to set.- Returns:
- the EncryptionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-