ReplicationObject Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. ReplicationObject
- com.
public final class ReplicationObject
Replication properties.
Constructor Summary
Constructor | Description |
---|---|
ReplicationObject() |
Creates an instance of Replication |
Method Summary
Modifier and Type | Method and Description |
---|---|
Endpoint |
endpointType()
Get the endpoint |
Remote |
remotePath()
Get the remote |
String |
remoteVolumeRegion()
Get the remote |
String |
remoteVolumeResourceId()
Get the remote |
String |
replicationId()
Get the replication |
Replication |
replicationSchedule()
Get the replication |
void |
validate()
Validates the instance. |
Replication |
withEndpointType(EndpointType endpointType)
Set the endpoint |
Replication |
withRemotePath(RemotePath remotePath)
Set the remote |
Replication |
withRemoteVolumeRegion(String remoteVolumeRegion)
Set the remote |
Replication |
withRemoteVolumeResourceId(String remoteVolumeResourceId)
Set the remote |
Replication |
withReplicationSchedule(ReplicationSchedule replicationSchedule)
Set the replication |
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:
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:
remoteVolumeRegion
public String remoteVolumeRegion()
Get the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.
Returns:
remoteVolumeResourceId
public String remoteVolumeResourceId()
Get the remoteVolumeResourceId property: The resource ID of the remote volume. Required for cross region and cross zone replication.
Returns:
replicationId
public String replicationId()
Get the replicationId property: Id.
Returns:
replicationSchedule
public ReplicationSchedule replicationSchedule()
Get the replicationSchedule property: Schedule.
Returns:
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:
Returns:
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:
Returns:
withRemoteVolumeRegion
public ReplicationObject withRemoteVolumeRegion(String remoteVolumeRegion)
Set the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.
Parameters:
Returns:
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:
Returns:
withReplicationSchedule
public ReplicationObject withReplicationSchedule(ReplicationSchedule replicationSchedule)
Set the replicationSchedule property: Schedule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for