ReplicationObject Class

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

public final class ReplicationObject

Replication properties.

Constructor Summary

Constructor Description
ReplicationObject()

Creates an instance of ReplicationObject class.

Method Summary

Modifier and Type Method and Description
EndpointType endpointType()

Get the endpointType property: Indicates whether the local volume is the source or destination for 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.

void validate()

Validates the instance.

ReplicationObject withEndpointType(EndpointType endpointType)

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

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

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.

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.

validate

public void validate()

Validates the instance.

withEndpointType

public ReplicationObject withEndpointType(EndpointType endpointType)

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

Parameters:

endpointType - the endpointType value to set.

Returns:

the ReplicationObject object itself.

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