Class IaasVmilrRegistrationRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.IlrRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.IaasVmilrRegistrationRequest
-
public final class IaasVmilrRegistrationRequest extends IlrRequest
Restore files/folders from a backup copy of IaaS VM.
-
-
Constructor Summary
Constructors Constructor Description IaasVmilrRegistrationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
initiatorName()
Get the initiatorName property: iSCSI initiator name.String
recoveryPointId()
Get the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.Boolean
renewExistingRegistration()
Get the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.void
validate()
Validates the instance.String
virtualMachineId()
Get the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.IaasVmilrRegistrationRequest
withInitiatorName(String initiatorName)
Set the initiatorName property: iSCSI initiator name.IaasVmilrRegistrationRequest
withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.IaasVmilrRegistrationRequest
withRenewExistingRegistration(Boolean renewExistingRegistration)
Set the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.IaasVmilrRegistrationRequest
withVirtualMachineId(String virtualMachineId)
Set the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.
-
-
-
Method Detail
-
recoveryPointId
public String recoveryPointId()
Get the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
public IaasVmilrRegistrationRequest withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.- Parameters:
recoveryPointId
- the recoveryPointId value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
virtualMachineId
public String virtualMachineId()
Get the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.- Returns:
- the virtualMachineId value.
-
withVirtualMachineId
public IaasVmilrRegistrationRequest withVirtualMachineId(String virtualMachineId)
Set the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.- Parameters:
virtualMachineId
- the virtualMachineId value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
initiatorName
public String initiatorName()
Get the initiatorName property: iSCSI initiator name.- Returns:
- the initiatorName value.
-
withInitiatorName
public IaasVmilrRegistrationRequest withInitiatorName(String initiatorName)
Set the initiatorName property: iSCSI initiator name.- Parameters:
initiatorName
- the initiatorName value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
renewExistingRegistration
public Boolean renewExistingRegistration()
Get the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.- Returns:
- the renewExistingRegistration value.
-
withRenewExistingRegistration
public IaasVmilrRegistrationRequest withRenewExistingRegistration(Boolean renewExistingRegistration)
Set the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.- Parameters:
renewExistingRegistration
- the renewExistingRegistration value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classIlrRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-