Package com.azure.storage.blob.models
Class GeoReplication
java.lang.Object
com.azure.storage.blob.models.GeoReplication
Geo-Replication information for the Secondary Storage Service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the lastSyncTime property: A GMT date/time value, to the second.Get the status property: The status of the secondary location.setLastSyncTime
(OffsetDateTime lastSyncTime) Set the lastSyncTime property: A GMT date/time value, to the second.setStatus
(GeoReplicationStatus status) Set the status property: The status of the secondary location.
-
Constructor Details
-
GeoReplication
public GeoReplication()Creates an instance of GeoReplication class.
-
-
Method Details
-
getStatus
Get the status property: The status of the secondary location.- Returns:
- the status value.
-
setStatus
Set the status property: The status of the secondary location.- Parameters:
status
- the status value to set.- Returns:
- the GeoReplication object itself.
-
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
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.
-