Class BackupResourceEncryptionConfig
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfig
- Direct Known Subclasses:
BackupResourceEncryptionConfigExtended
The BackupResourceEncryptionConfig model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BackupResourceEncryptionConfig class. -
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionAtRestType property: Encryption At Rest Type.Get the infrastructureEncryptionState property: The infrastructureEncryptionState property.keyUri()
Get the keyUri property: Key Vault Key URI.Get the lastUpdateStatus property: The lastUpdateStatus property.Get the subscriptionId property: Key Vault Subscription Id.void
validate()
Validates the instance.withEncryptionAtRestType
(EncryptionAtRestType encryptionAtRestType) Set the encryptionAtRestType property: Encryption At Rest Type.withInfrastructureEncryptionState
(InfrastructureEncryptionState infrastructureEncryptionState) Set the infrastructureEncryptionState property: The infrastructureEncryptionState property.withKeyUri
(String keyUri) Set the keyUri property: Key Vault Key URI.withLastUpdateStatus
(LastUpdateStatus lastUpdateStatus) Set the lastUpdateStatus property: The lastUpdateStatus property.withSubscriptionId
(String subscriptionId) Set the subscriptionId property: Key Vault Subscription Id.
-
Constructor Details
-
BackupResourceEncryptionConfig
public BackupResourceEncryptionConfig()Creates an instance of BackupResourceEncryptionConfig class.
-
-
Method Details
-
encryptionAtRestType
Get the encryptionAtRestType property: Encryption At Rest Type.- Returns:
- the encryptionAtRestType value.
-
withEncryptionAtRestType
public BackupResourceEncryptionConfig withEncryptionAtRestType(EncryptionAtRestType encryptionAtRestType) Set the encryptionAtRestType property: Encryption At Rest Type.- Parameters:
encryptionAtRestType
- the encryptionAtRestType value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
keyUri
Get the keyUri property: Key Vault Key URI.- Returns:
- the keyUri value.
-
withKeyUri
Set the keyUri property: Key Vault Key URI.- Parameters:
keyUri
- the keyUri value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
subscriptionId
Get the subscriptionId property: Key Vault Subscription Id.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: Key Vault Subscription Id.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
lastUpdateStatus
Get the lastUpdateStatus property: The lastUpdateStatus property.- Returns:
- the lastUpdateStatus value.
-
withLastUpdateStatus
Set the lastUpdateStatus property: The lastUpdateStatus property.- Parameters:
lastUpdateStatus
- the lastUpdateStatus value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
infrastructureEncryptionState
Get the infrastructureEncryptionState property: The infrastructureEncryptionState property.- Returns:
- the infrastructureEncryptionState value.
-
withInfrastructureEncryptionState
public BackupResourceEncryptionConfig withInfrastructureEncryptionState(InfrastructureEncryptionState infrastructureEncryptionState) Set the infrastructureEncryptionState property: The infrastructureEncryptionState property.- Parameters:
infrastructureEncryptionState
- the infrastructureEncryptionState value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-