Class ReplicationObject
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.ReplicationObject
-
public final class ReplicationObject extends Object
Replication properties.
-
-
Constructor Summary
Constructors Constructor Description ReplicationObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointType
endpointType()
Get the endpointType property: Indicates whether the local volume is the source or destination for the Volume Replication.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
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
withReplicationId(String replicationId)
Set the replicationId property: Id.ReplicationObject
withReplicationSchedule(ReplicationSchedule replicationSchedule)
Set the replicationSchedule property: Schedule.
-
-
-
Method Detail
-
replicationId
public String replicationId()
Get the replicationId property: Id.- Returns:
- the replicationId value.
-
withReplicationId
public ReplicationObject withReplicationId(String replicationId)
Set the replicationId property: Id.- Parameters:
replicationId
- the replicationId value to set.- Returns:
- the ReplicationObject object itself.
-
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.
-
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.
-
replicationSchedule
public ReplicationSchedule replicationSchedule()
Get the replicationSchedule property: Schedule.- Returns:
- the replicationSchedule value.
-
withReplicationSchedule
public ReplicationObject withReplicationSchedule(ReplicationSchedule replicationSchedule)
Set the replicationSchedule property: Schedule.- Parameters:
replicationSchedule
- the replicationSchedule value to set.- Returns:
- the ReplicationObject object itself.
-
remoteVolumeResourceId
public String remoteVolumeResourceId()
Get the remoteVolumeResourceId property: The resource ID of the remote volume.- Returns:
- the remoteVolumeResourceId value.
-
withRemoteVolumeResourceId
public ReplicationObject withRemoteVolumeResourceId(String remoteVolumeResourceId)
Set the remoteVolumeResourceId property: The resource ID of the remote volume.- Parameters:
remoteVolumeResourceId
- the remoteVolumeResourceId value to set.- Returns:
- the ReplicationObject object itself.
-
remoteVolumeRegion
public String remoteVolumeRegion()
Get the remoteVolumeRegion property: The remote region for the other end of the Volume Replication.- Returns:
- the remoteVolumeRegion value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-