BreakReplicationRequest Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. BreakReplicationRequest
- com.
Implements
public final class BreakReplicationRequest
implements JsonSerializable<BreakReplicationRequest>
Break replication request.
Constructor Summary
| Constructor | Description |
|---|---|
| BreakReplicationRequest() |
Creates an instance of Break |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
forceBreakReplication()
Get the force |
|
static
Break |
fromJson(JsonReader jsonReader)
Reads an instance of Break |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Break |
withForceBreakReplication(Boolean forceBreakReplication)
Set the force |
Methods inherited from java.lang.Object
Constructor Details
BreakReplicationRequest
public BreakReplicationRequest()
Creates an instance of BreakReplicationRequest class.
Method Details
forceBreakReplication
public Boolean forceBreakReplication()
Get the forceBreakReplication property: If replication is in status transferring and you want to force break the replication, set to true.
Returns:
fromJson
public static BreakReplicationRequest fromJson(JsonReader jsonReader)
Reads an instance of BreakReplicationRequest from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withForceBreakReplication
public BreakReplicationRequest withForceBreakReplication(Boolean forceBreakReplication)
Set the forceBreakReplication property: If replication is in status transferring and you want to force break the replication, set to true.
Parameters:
Returns: