Class UnlockDeleteRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.UnlockDeleteRequest
-
public final class UnlockDeleteRequest extends Object
Request body of unlock delete API.
-
-
Constructor Summary
Constructors Constructor Description UnlockDeleteRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
resourceGuardOperationRequests()
Get the resourceGuardOperationRequests property: The resourceGuardOperationRequests property.String
resourceToBeDeleted()
Get the resourceToBeDeleted property: The resourceToBeDeleted property.void
validate()
Validates the instance.UnlockDeleteRequest
withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)
Set the resourceGuardOperationRequests property: The resourceGuardOperationRequests property.UnlockDeleteRequest
withResourceToBeDeleted(String resourceToBeDeleted)
Set the resourceToBeDeleted property: The resourceToBeDeleted property.
-
-
-
Method Detail
-
resourceGuardOperationRequests
public List<String> 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
public String resourceToBeDeleted()
Get the resourceToBeDeleted property: The resourceToBeDeleted property.- Returns:
- the resourceToBeDeleted value.
-
withResourceToBeDeleted
public UnlockDeleteRequest withResourceToBeDeleted(String resourceToBeDeleted)
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.
-
-