Class BackupResourceEncryptionConfigExtended
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfig
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfigExtended
The BackupResourceEncryptionConfigExtended model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BackupResourceEncryptionConfigExtended class. -
Method Summary
Modifier and TypeMethodDescriptionGet the userAssignedIdentity property: User Assigned Identity Id.Get the useSystemAssignedIdentity property: bool to indicate whether to use system Assigned Identity or not.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.withUserAssignedIdentity
(String userAssignedIdentity) Set the userAssignedIdentity property: User Assigned Identity Id.withUseSystemAssignedIdentity
(Boolean useSystemAssignedIdentity) Set the useSystemAssignedIdentity property: bool to indicate whether to use system Assigned Identity or not.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfig
encryptionAtRestType, infrastructureEncryptionState, keyUri, lastUpdateStatus, subscriptionId
-
Constructor Details
-
BackupResourceEncryptionConfigExtended
public BackupResourceEncryptionConfigExtended()Creates an instance of BackupResourceEncryptionConfigExtended class.
-
-
Method Details
-
userAssignedIdentity
Get the userAssignedIdentity property: User Assigned Identity Id.- Returns:
- the userAssignedIdentity value.
-
withUserAssignedIdentity
Set the userAssignedIdentity property: User Assigned Identity Id.- Parameters:
userAssignedIdentity
- the userAssignedIdentity value to set.- Returns:
- the BackupResourceEncryptionConfigExtended object itself.
-
useSystemAssignedIdentity
Get the useSystemAssignedIdentity property: bool to indicate whether to use system Assigned Identity or not.- Returns:
- the useSystemAssignedIdentity value.
-
withUseSystemAssignedIdentity
public BackupResourceEncryptionConfigExtended withUseSystemAssignedIdentity(Boolean useSystemAssignedIdentity) Set the useSystemAssignedIdentity property: bool to indicate whether to use system Assigned Identity or not.- Parameters:
useSystemAssignedIdentity
- the useSystemAssignedIdentity value to set.- Returns:
- the BackupResourceEncryptionConfigExtended object itself.
-
withEncryptionAtRestType
public BackupResourceEncryptionConfigExtended withEncryptionAtRestType(EncryptionAtRestType encryptionAtRestType) Set the encryptionAtRestType property: Encryption At Rest Type.- Overrides:
withEncryptionAtRestType
in classBackupResourceEncryptionConfig
- Parameters:
encryptionAtRestType
- the encryptionAtRestType value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
withKeyUri
Set the keyUri property: Key Vault Key URI.- Overrides:
withKeyUri
in classBackupResourceEncryptionConfig
- Parameters:
keyUri
- the keyUri value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
withSubscriptionId
Set the subscriptionId property: Key Vault Subscription Id.- Overrides:
withSubscriptionId
in classBackupResourceEncryptionConfig
- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
withLastUpdateStatus
public BackupResourceEncryptionConfigExtended withLastUpdateStatus(LastUpdateStatus lastUpdateStatus) Set the lastUpdateStatus property: The lastUpdateStatus property.- Overrides:
withLastUpdateStatus
in classBackupResourceEncryptionConfig
- Parameters:
lastUpdateStatus
- the lastUpdateStatus value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
withInfrastructureEncryptionState
public BackupResourceEncryptionConfigExtended withInfrastructureEncryptionState(InfrastructureEncryptionState infrastructureEncryptionState) Set the infrastructureEncryptionState property: The infrastructureEncryptionState property.- Overrides:
withInfrastructureEncryptionState
in classBackupResourceEncryptionConfig
- Parameters:
infrastructureEncryptionState
- the infrastructureEncryptionState value to set.- Returns:
- the BackupResourceEncryptionConfig object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classBackupResourceEncryptionConfig
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-