BreakReplicationRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.BreakReplicationRequest

Implements

public final class BreakReplicationRequest
implements JsonSerializable<BreakReplicationRequest>

Break replication request.

Constructor Summary

Constructor Description
BreakReplicationRequest()

Creates an instance of BreakReplicationRequest class.

Method Summary

Modifier and Type Method and Description
Boolean forceBreakReplication()

Get the forceBreakReplication property: If replication is in status transferring and you want to force break the replication, set to true.

static BreakReplicationRequest fromJson(JsonReader jsonReader)

Reads an instance of BreakReplicationRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

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.

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:

the forceBreakReplication value.

fromJson

public static BreakReplicationRequest fromJson(JsonReader jsonReader)

Reads an instance of BreakReplicationRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BreakReplicationRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BreakReplicationRequest.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

forceBreakReplication - the forceBreakReplication value to set.

Returns:

the BreakReplicationRequest object itself.

Applies to