### YamlMime:JavaType
uid: "com.azure.storage.blob.models.GeoReplication"
fullName: "com.azure.storage.blob.models.GeoReplication"
name: "GeoReplication"
nameWithType: "GeoReplication"
summary: "Geo-Replication information for the Secondary Storage Service."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **GeoReplication** implements <>"
constructors:
- uid: "com.azure.storage.blob.models.GeoReplication.GeoReplication()"
fullName: "com.azure.storage.blob.models.GeoReplication.GeoReplication()"
name: "GeoReplication()"
nameWithType: "GeoReplication.GeoReplication()"
summary: "Creates an instance of GeoReplication class."
syntax: "public GeoReplication()"
desc: "Creates an instance of GeoReplication class."
methods:
- uid: "com.azure.storage.blob.models.GeoReplication.fromXml(com.azure.xml.XmlReader)"
fullName: "com.azure.storage.blob.models.GeoReplication.fromXml(XmlReader xmlReader)"
name: "fromXml(XmlReader xmlReader)"
nameWithType: "GeoReplication.fromXml(XmlReader xmlReader)"
summary: "Reads an instance of GeoReplication from the XmlReader."
modifiers:
- "static"
parameters:
- description: "The XmlReader being read."
name: "xmlReader"
type: ""
syntax: "public static GeoReplication fromXml(XmlReader xmlReader)"
exceptions:
- description: "If the deserialized XML object was missing any required properties."
type: "XMLStreamException"
desc: "Reads an instance of GeoReplication from the XmlReader."
returns:
description: "An instance of GeoReplication if the XmlReader was pointing to an instance of it, or null if it was\n pointing to XML null."
type: ""
- uid: "com.azure.storage.blob.models.GeoReplication.fromXml(com.azure.xml.XmlReader,java.lang.String)"
fullName: "com.azure.storage.blob.models.GeoReplication.fromXml(XmlReader xmlReader, String rootElementName)"
name: "fromXml(XmlReader xmlReader, String rootElementName)"
nameWithType: "GeoReplication.fromXml(XmlReader xmlReader, String rootElementName)"
summary: "Reads an instance of GeoReplication from the XmlReader."
modifiers:
- "static"
parameters:
- description: "The XmlReader being read."
name: "xmlReader"
type: ""
- description: "Optional root element name to override the default defined by the model. Used to support\n cases where the model can deserialize from different root element names."
name: "rootElementName"
type: "String"
syntax: "public static GeoReplication fromXml(XmlReader xmlReader, String rootElementName)"
exceptions:
- description: "If the deserialized XML object was missing any required properties."
type: "XMLStreamException"
desc: "Reads an instance of GeoReplication from the XmlReader."
returns:
description: "An instance of GeoReplication if the XmlReader was pointing to an instance of it, or null if it was\n pointing to XML null."
type: ""
- uid: "com.azure.storage.blob.models.GeoReplication.getLastSyncTime()"
fullName: "com.azure.storage.blob.models.GeoReplication.getLastSyncTime()"
name: "getLastSyncTime()"
nameWithType: "GeoReplication.getLastSyncTime()"
summary: "Get the lastSyncTime property: A GMT date/time value, to the second."
syntax: "public OffsetDateTime getLastSyncTime()"
desc: "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:
description: "the lastSyncTime value."
type: "OffsetDateTime"
- uid: "com.azure.storage.blob.models.GeoReplication.getStatus()"
fullName: "com.azure.storage.blob.models.GeoReplication.getStatus()"
name: "getStatus()"
nameWithType: "GeoReplication.getStatus()"
summary: "Get the status property: The status of the secondary location."
syntax: "public GeoReplicationStatus getStatus()"
desc: "Get the status property: The status of the secondary location."
returns:
description: "the status value."
type: ""
- uid: "com.azure.storage.blob.models.GeoReplication.setLastSyncTime(java.time.OffsetDateTime)"
fullName: "com.azure.storage.blob.models.GeoReplication.setLastSyncTime(OffsetDateTime lastSyncTime)"
name: "setLastSyncTime(OffsetDateTime lastSyncTime)"
nameWithType: "GeoReplication.setLastSyncTime(OffsetDateTime lastSyncTime)"
summary: "Set the lastSyncTime property: A GMT date/time value, to the second."
parameters:
- description: "the lastSyncTime value to set."
name: "lastSyncTime"
type: "OffsetDateTime"
syntax: "public GeoReplication setLastSyncTime(OffsetDateTime lastSyncTime)"
desc: "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."
returns:
description: "the GeoReplication object itself."
type: ""
- uid: "com.azure.storage.blob.models.GeoReplication.setStatus(com.azure.storage.blob.models.GeoReplicationStatus)"
fullName: "com.azure.storage.blob.models.GeoReplication.setStatus(GeoReplicationStatus status)"
name: "setStatus(GeoReplicationStatus status)"
nameWithType: "GeoReplication.setStatus(GeoReplicationStatus status)"
summary: "Set the status property: The status of the secondary location."
parameters:
- description: "the status value to set."
name: "status"
type: ""
syntax: "public GeoReplication setStatus(GeoReplicationStatus status)"
desc: "Set the status property: The status of the secondary location."
returns:
description: "the GeoReplication object itself."
type: ""
- uid: "com.azure.storage.blob.models.GeoReplication.toXml(com.azure.xml.XmlWriter)"
fullName: "com.azure.storage.blob.models.GeoReplication.toXml(XmlWriter xmlWriter)"
name: "toXml(XmlWriter xmlWriter)"
nameWithType: "GeoReplication.toXml(XmlWriter xmlWriter)"
parameters:
- name: "xmlWriter"
type: ""
syntax: "public XmlWriter toXml(XmlWriter xmlWriter)"
exceptions:
- type: "XMLStreamException"
returns:
type: ""
- uid: "com.azure.storage.blob.models.GeoReplication.toXml(com.azure.xml.XmlWriter,java.lang.String)"
fullName: "com.azure.storage.blob.models.GeoReplication.toXml(XmlWriter xmlWriter, String rootElementName)"
name: "toXml(XmlWriter xmlWriter, String rootElementName)"
nameWithType: "GeoReplication.toXml(XmlWriter xmlWriter, String rootElementName)"
parameters:
- name: "xmlWriter"
type: ""
- name: "rootElementName"
type: "String"
syntax: "public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)"
exceptions:
- type: "XMLStreamException"
returns:
type: ""
type: "class"
desc: "Geo-Replication information for the Secondary Storage Service."
implements:
- "<>"
metadata: {}
package: "com.azure.storage.blob.models"
artifact: com.azure:azure-storage-blob:12.28.1