Class UnlockDeleteRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.UnlockDeleteRequest
Request body of unlock delete API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the resourceGuardOperationRequests property: The resourceGuardOperationRequests property.Get the resourceToBeDeleted property: The resourceToBeDeleted property.void
validate()
Validates the instance.withResourceGuardOperationRequests
(List<String> resourceGuardOperationRequests) Set the resourceGuardOperationRequests property: The resourceGuardOperationRequests property.withResourceToBeDeleted
(String resourceToBeDeleted) Set the resourceToBeDeleted property: The resourceToBeDeleted property.
-
Constructor Details
-
UnlockDeleteRequest
public UnlockDeleteRequest()Creates an instance of UnlockDeleteRequest class.
-
-
Method Details
-
resourceGuardOperationRequests
Get the resourceGuardOperationRequests property: The resourceGuardOperationRequests property.- Returns:
- the resourceGuardOperationRequests value.
-
withResourceGuardOperationRequests
public UnlockDeleteRequest withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests) Set the resourceGuardOperationRequests property: The resourceGuardOperationRequests property.- Parameters:
resourceGuardOperationRequests
- the resourceGuardOperationRequests value to set.- Returns:
- the UnlockDeleteRequest object itself.
-
resourceToBeDeleted
Get the resourceToBeDeleted property: The resourceToBeDeleted property.- Returns:
- the resourceToBeDeleted value.
-
withResourceToBeDeleted
Set the resourceToBeDeleted property: The resourceToBeDeleted property.- Parameters:
resourceToBeDeleted
- the resourceToBeDeleted value to set.- Returns:
- the UnlockDeleteRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-