Class UnlinkParameters
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.UnlinkParameters
-
public final class UnlinkParameters extends Object
Represents the parameters for Unlink Replication Link request.
-
-
Constructor Summary
Constructors Constructor Description UnlinkParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanforcedTermination()Get the forcedTermination property: Determines whether link will be terminated in a forced or a friendly way.voidvalidate()Validates the instance.UnlinkParameterswithForcedTermination(Boolean forcedTermination)Set the forcedTermination property: Determines whether link will be terminated in a forced or a friendly way.
-
-
-
Method Detail
-
forcedTermination
public Boolean forcedTermination()
Get the forcedTermination property: Determines whether link will be terminated in a forced or a friendly way.- Returns:
- the forcedTermination value.
-
withForcedTermination
public UnlinkParameters withForcedTermination(Boolean forcedTermination)
Set the forcedTermination property: Determines whether link will be terminated in a forced or a friendly way.- Parameters:
forcedTermination- the forcedTermination value to set.- Returns:
- the UnlinkParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-