Class EncryptionPropertiesDescription
java.lang.Object
com.azure.resourcemanager.iothub.models.EncryptionPropertiesDescription
The encryption properties for the IoT hub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the keySource property: The source of the key.Get the keyVaultProperties property: The properties of the KeyVault key.void
validate()
Validates the instance.withKeySource
(String keySource) Set the keySource property: The source of the key.withKeyVaultProperties
(List<KeyVaultKeyProperties> keyVaultProperties) Set the keyVaultProperties property: The properties of the KeyVault key.
-
Constructor Details
-
EncryptionPropertiesDescription
public EncryptionPropertiesDescription()
-
-
Method Details
-
keySource
Get the keySource property: The source of the key.- Returns:
- the keySource value.
-
withKeySource
Set the keySource property: The source of the key.- Parameters:
keySource
- the keySource value to set.- Returns:
- the EncryptionPropertiesDescription object itself.
-
keyVaultProperties
Get the keyVaultProperties property: The properties of the KeyVault key.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
public EncryptionPropertiesDescription withKeyVaultProperties(List<KeyVaultKeyProperties> keyVaultProperties) Set the keyVaultProperties property: The properties of the KeyVault key.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the EncryptionPropertiesDescription object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-