Class BackupResourceEncryptionConfig
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfig
-
- Direct Known Subclasses:
BackupResourceEncryptionConfigExtended
public class BackupResourceEncryptionConfig extends Object
The BackupResourceEncryptionConfig model.
-
-
Constructor Summary
Constructors Constructor Description BackupResourceEncryptionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionAtRestType
encryptionAtRestType()
Get the encryptionAtRestType property: Encryption At Rest Type.InfrastructureEncryptionState
infrastructureEncryptionState()
Get the infrastructureEncryptionState property: The infrastructureEncryptionState property.String
keyUri()
Get the keyUri property: Key Vault Key URI.LastUpdateStatus
lastUpdateStatus()
Get the lastUpdateStatus property: The lastUpdateStatus property.String
subscriptionId()
Get the subscriptionId property: Key Vault Subscription Id.void
validate()
Validates the instance.BackupResourceEncryptionConfig
withEncryptionAtRestType(EncryptionAtRestType encryptionAtRestType)
Set the encryptionAtRestType property: Encryption At Rest Type.BackupResourceEncryptionConfig
withInfrastructureEncryptionState(InfrastructureEncryptionState infrastructureEncryptionState)
Set the infrastructureEncryptionState property: The infrastructureEncryptionState property.BackupResourceEncryptionConfig
withKeyUri(String keyUri)
Set the keyUri property: Key Vault Key URI.BackupResourceEncryptionConfig
withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
Set the lastUpdateStatus property: The lastUpdateStatus property.BackupResourceEncryptionConfig
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Key Vault Subscription Id.
-
-
-
Method Detail
-
encryptionAtRestType
public EncryptionAtRestType 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
public String keyUri()
Get the keyUri property: Key Vault Key URI.- Returns:
- the keyUri value.
-
withKeyUri
public BackupResourceEncryptionConfig withKeyUri(String keyUri)
Set the keyUri property: Key Vault Key URI.- Parameters:
keyUri
- the keyUri value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Key Vault Subscription Id.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public BackupResourceEncryptionConfig withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Key Vault Subscription Id.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
lastUpdateStatus
public LastUpdateStatus lastUpdateStatus()
Get the lastUpdateStatus property: The lastUpdateStatus property.- Returns:
- the lastUpdateStatus value.
-
withLastUpdateStatus
public BackupResourceEncryptionConfig withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
Set the lastUpdateStatus property: The lastUpdateStatus property.- Parameters:
lastUpdateStatus
- the lastUpdateStatus value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
infrastructureEncryptionState
public InfrastructureEncryptionState 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.
-
-