Class IdentityBasedRestoreDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.IdentityBasedRestoreDetails
IaaS VM workload specific restore details for restores using managed identity.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IdentityBasedRestoreDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the objectType property: Gets the class type.Get the targetStorageAccountId property: Fully qualified ARM ID of the target storage account.void
validate()
Validates the instance.withObjectType
(String objectType) Set the objectType property: Gets the class type.withTargetStorageAccountId
(String targetStorageAccountId) Set the targetStorageAccountId property: Fully qualified ARM ID of the target storage account.
-
Constructor Details
-
IdentityBasedRestoreDetails
public IdentityBasedRestoreDetails()Creates an instance of IdentityBasedRestoreDetails class.
-
-
Method Details
-
objectType
Get the objectType property: Gets the class type.- Returns:
- the objectType value.
-
withObjectType
Set the objectType property: Gets the class type.- Parameters:
objectType
- the objectType value to set.- Returns:
- the IdentityBasedRestoreDetails object itself.
-
targetStorageAccountId
Get the targetStorageAccountId property: Fully qualified ARM ID of the target storage account.- Returns:
- the targetStorageAccountId value.
-
withTargetStorageAccountId
Set the targetStorageAccountId property: Fully qualified ARM ID of the target storage account.- Parameters:
targetStorageAccountId
- the targetStorageAccountId value to set.- Returns:
- the IdentityBasedRestoreDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-