Class Encryption
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.Encryption
-
public final class Encryption extends Object
Properties to configure Encryption.
-
-
Constructor Summary
Constructors Constructor Description Encryption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeySource
keySource()
Get the keySource property: Enumerates the possible value of keySource for Encryption.KeyVaultProperties
keyVaultProperties()
Get the keyVaultProperties property: Properties of KeyVault.void
validate()
Validates the instance.Encryption
withKeySource(KeySource keySource)
Set the keySource property: Enumerates the possible value of keySource for Encryption.Encryption
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Properties of KeyVault.
-
-
-
Method Detail
-
keyVaultProperties
public KeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: Properties of KeyVault.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
public Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Properties of KeyVault.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the Encryption object itself.
-
keySource
public KeySource keySource()
Get the keySource property: Enumerates the possible value of keySource for Encryption.- Returns:
- the keySource value.
-
withKeySource
public Encryption withKeySource(KeySource keySource)
Set the keySource property: Enumerates the possible value of keySource for Encryption.- Parameters:
keySource
- the keySource value to set.- Returns:
- the Encryption object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-