Class BreakFileLocksRequest
java.lang.Object
com.azure.resourcemanager.netapp.models.BreakFileLocksRequest
Break file locks request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientIp()
Get the clientIp property: To clear file locks on a volume for a particular client.Get the confirmRunningDisruptiveOperation property: Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.void
validate()
Validates the instance.withClientIp
(String clientIp) Set the clientIp property: To clear file locks on a volume for a particular client.withConfirmRunningDisruptiveOperation
(Boolean confirmRunningDisruptiveOperation) Set the confirmRunningDisruptiveOperation property: Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.
-
Constructor Details
-
BreakFileLocksRequest
public BreakFileLocksRequest()Creates an instance of BreakFileLocksRequest class.
-
-
Method Details
-
clientIp
Get the clientIp property: To clear file locks on a volume for a particular client.- Returns:
- the clientIp value.
-
withClientIp
Set the clientIp property: To clear file locks on a volume for a particular client.- Parameters:
clientIp
- the clientIp value to set.- Returns:
- the BreakFileLocksRequest object itself.
-
confirmRunningDisruptiveOperation
Get the confirmRunningDisruptiveOperation property: Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.- Returns:
- the confirmRunningDisruptiveOperation value.
-
withConfirmRunningDisruptiveOperation
public BreakFileLocksRequest withConfirmRunningDisruptiveOperation(Boolean confirmRunningDisruptiveOperation) Set the confirmRunningDisruptiveOperation property: Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.- Parameters:
confirmRunningDisruptiveOperation
- the confirmRunningDisruptiveOperation value to set.- Returns:
- the BreakFileLocksRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-