ReplicationObject Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. ReplicationObject
- com.
Implements
public final class ReplicationObject
implements JsonSerializable<ReplicationObject>
Replication properties.
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicationObject() |
Creates an instance of Replication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Destination |
destinationReplications()
Get the destination |
|
Endpoint |
endpointType()
Get the endpoint |
| String |
externalReplicationSetupInfo()
Get the external |
|
External |
externalReplicationSetupStatus()
Get the external |
|
static
Replication |
fromJson(JsonReader jsonReader)
Reads an instance of Replication |
|
Mirror |
mirrorState()
Get the mirror |
|
Volume |
relationshipStatus()
Get the relationship |
|
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 |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
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
destinationReplications
public List<DestinationReplication> destinationReplications()
Get the destinationReplications property: A list of destination replications.
Returns:
endpointType
public EndpointType endpointType()
Get the endpointType property: Indicates whether the local volume is the source or destination for the Volume Replication.
Returns:
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:
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:
fromJson
public static ReplicationObject fromJson(JsonReader jsonReader)
Reads an instance of ReplicationObject from the JsonReader.
Parameters:
Returns:
Throws:
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:
relationshipStatus
public VolumeReplicationRelationshipStatus relationshipStatus()
Get the relationshipStatus property: The status of 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:
toJson
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:
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: