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