ReplicationObject Class

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

Implements

public final class ReplicationObject
implements JsonSerializable<ReplicationObject>

Replication properties.

Constructor Summary

Constructor Description
ReplicationObject()

Creates an instance of ReplicationObject class.

Method Summary

Modifier and Type Method and Description
List<DestinationReplication> destinationReplications()

Get the destinationReplications property: A list of destination replications.

EndpointType endpointType()

Get the endpointType property: Indicates whether the local volume is the source or destination for the Volume Replication.

String externalReplicationSetupInfo()

Get the externalReplicationSetupInfo property: Contains human-readable instructions on what the next step is to finish the external replication setup.

ExternalReplicationSetupStatus externalReplicationSetupStatus()

Get the externalReplicationSetupStatus property: Property that only applies to external replications.

static ReplicationObject fromJson(JsonReader jsonReader)

Reads an instance of ReplicationObject from the JsonReader.

MirrorState mirrorState()

Get the mirrorState property: The mirror state property describes the current status of data replication for a replication.

VolumeReplicationRelationshipStatus relationshipStatus()

Get the relationshipStatus property: The status of the Volume Replication.

RemotePath remotePath()

Get the remotePath property: The full path to a volume that is to be migrated into ANF.

String remoteVolumeRegion()

Get the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.

String remoteVolumeResourceId()

Get the remoteVolumeResourceId property: The resource ID of the remote volume.

String replicationId()

Get the replicationId property: Id.

ReplicationSchedule replicationSchedule()

Get the replicationSchedule property: Schedule.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ReplicationObject withRemotePath(RemotePath remotePath)

Set the remotePath property: The full path to a volume that is to be migrated into ANF.

ReplicationObject withRemoteVolumeRegion(String remoteVolumeRegion)

Set the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.

ReplicationObject withRemoteVolumeResourceId(String remoteVolumeResourceId)

Set the remoteVolumeResourceId property: The resource ID of the remote volume.

ReplicationObject withReplicationSchedule(ReplicationSchedule replicationSchedule)

Set the replicationSchedule property: Schedule.

Methods inherited from java.lang.Object

Constructor Details

ReplicationObject

public ReplicationObject()

Creates an instance of ReplicationObject class.

Method Details

destinationReplications

public List<DestinationReplication> destinationReplications()

Get the destinationReplications property: A list of destination replications.

Returns:

the destinationReplications value.

endpointType

public EndpointType endpointType()

Get the endpointType property: Indicates whether the local volume is the source or destination for the Volume Replication.

Returns:

the endpointType value.

externalReplicationSetupInfo

public String externalReplicationSetupInfo()

Get the externalReplicationSetupInfo property: Contains human-readable instructions on what the next step is to finish the external replication setup.

Returns:

the externalReplicationSetupInfo value.

externalReplicationSetupStatus

public ExternalReplicationSetupStatus externalReplicationSetupStatus()

Get the externalReplicationSetupStatus property: Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup.

Returns:

the externalReplicationSetupStatus value.

fromJson

public static ReplicationObject fromJson(JsonReader jsonReader)

Reads an instance of ReplicationObject from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ReplicationObject 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 ReplicationObject.

mirrorState

public MirrorState mirrorState()

Get the mirrorState property: The mirror state property describes the current status of data replication for a replication. It provides insight into whether the data is actively being mirrored, if the replication process has been paused, or if it has yet to be initialized.

Returns:

the mirrorState value.

relationshipStatus

public VolumeReplicationRelationshipStatus relationshipStatus()

Get the relationshipStatus property: The status of the Volume Replication.

Returns:

the relationshipStatus value.

remotePath

public RemotePath remotePath()

Get the remotePath property: The full path to a volume that is to be migrated into ANF. Required for Migration volumes.

Returns:

the remotePath value.

remoteVolumeRegion

public String remoteVolumeRegion()

Get the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.

Returns:

the remoteVolumeRegion value.

remoteVolumeResourceId

public String remoteVolumeResourceId()

Get the remoteVolumeResourceId property: The resource ID of the remote volume. Required for cross region and cross zone replication.

Returns:

the remoteVolumeResourceId value.

replicationId

public String replicationId()

Get the replicationId property: Id.

Returns:

the replicationId value.

replicationSchedule

public ReplicationSchedule replicationSchedule()

Get the replicationSchedule property: Schedule.

Returns:

the replicationSchedule value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRemotePath

public ReplicationObject withRemotePath(RemotePath remotePath)

Set the remotePath property: The full path to a volume that is to be migrated into ANF. Required for Migration volumes.

Parameters:

remotePath - the remotePath value to set.

Returns:

the ReplicationObject object itself.

withRemoteVolumeRegion

public ReplicationObject withRemoteVolumeRegion(String remoteVolumeRegion)

Set the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.

Parameters:

remoteVolumeRegion - the remoteVolumeRegion value to set.

Returns:

the ReplicationObject object itself.

withRemoteVolumeResourceId

public ReplicationObject withRemoteVolumeResourceId(String remoteVolumeResourceId)

Set the remoteVolumeResourceId property: The resource ID of the remote volume. Required for cross region and cross zone replication.

Parameters:

remoteVolumeResourceId - the remoteVolumeResourceId value to set.

Returns:

the ReplicationObject object itself.

withReplicationSchedule

public ReplicationObject withReplicationSchedule(ReplicationSchedule replicationSchedule)

Set the replicationSchedule property: Schedule.

Parameters:

replicationSchedule - the replicationSchedule value to set.

Returns:

the ReplicationObject object itself.

Applies to