Package com.azure.storage.queue.models
Class GeoReplication
- java.lang.Object
-
- com.azure.storage.queue.models.GeoReplication
-
public final class GeoReplication extends Object
The GeoReplication model.
-
-
Constructor Summary
Constructors Constructor Description GeoReplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getLastSyncTime()
Get the lastSyncTime property: A GMT date/time value, to the second.GeoReplicationStatus
getStatus()
Get the status property: The status of the secondary location.GeoReplication
setLastSyncTime(OffsetDateTime lastSyncTime)
Set the lastSyncTime property: A GMT date/time value, to the second.GeoReplication
setStatus(GeoReplicationStatus status)
Set the status property: The status of the secondary location.
-
-
-
Method Detail
-
getStatus
public GeoReplicationStatus getStatus()
Get the status property: The status of the secondary location.- Returns:
- the status value.
-
setStatus
public GeoReplication setStatus(GeoReplicationStatus status)
Set the status property: The status of the secondary location.- Parameters:
status
- the status value to set.- Returns:
- the GeoReplication object itself.
-
getLastSyncTime
public OffsetDateTime getLastSyncTime()
Get the lastSyncTime property: A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads.- Returns:
- the lastSyncTime value.
-
setLastSyncTime
public GeoReplication setLastSyncTime(OffsetDateTime lastSyncTime)
Set the lastSyncTime property: A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads.- Parameters:
lastSyncTime
- the lastSyncTime value to set.- Returns:
- the GeoReplication object itself.
-
-