azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.queue.mod...

155 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.queue.models.GeoReplication"
fullName: "com.azure.storage.queue.models.GeoReplication"
name: "GeoReplication"
nameWithType: "GeoReplication"
summary: "The Geo<wbr>Replication model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **GeoReplication**</br> implements <xref href=\"com.azure.xml.XmlSerializable?alt=com.azure.xml.XmlSerializable&text=XmlSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.storage.queue.models.GeoReplication?alt=com.azure.storage.queue.models.GeoReplication&text=GeoReplication\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.storage.queue.models.GeoReplication.GeoReplication()"
fullName: "com.azure.storage.queue.models.GeoReplication.GeoReplication()"
name: "GeoReplication()"
nameWithType: "GeoReplication.GeoReplication()"
summary: "Creates an instance of Geo<wbr>Replication class."
syntax: "public GeoReplication()"
desc: "Creates an instance of GeoReplication class."
methods:
- uid: "com.azure.storage.queue.models.GeoReplication.fromXml(com.azure.xml.XmlReader)"
fullName: "com.azure.storage.queue.models.GeoReplication.fromXml(XmlReader xmlReader)"
name: "fromXml(XmlReader xmlReader)"
nameWithType: "GeoReplication.fromXml(XmlReader xmlReader)"
summary: "Reads an instance of Geo<wbr>Replication from the Xml<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The XmlReader being read."
name: "xmlReader"
type: "<xref href=\"com.azure.xml.XmlReader?alt=com.azure.xml.XmlReader&text=XmlReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static GeoReplication fromXml(XmlReader xmlReader)"
exceptions:
- description: "If the deserialized XML object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
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: "<xref href=\"com.azure.storage.queue.models.GeoReplication?alt=com.azure.storage.queue.models.GeoReplication&text=GeoReplication\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.GeoReplication.fromXml(com.azure.xml.XmlReader,java.lang.String)"
fullName: "com.azure.storage.queue.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 Geo<wbr>Replication from the Xml<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The XmlReader being read."
name: "xmlReader"
type: "<xref href=\"com.azure.xml.XmlReader?alt=com.azure.xml.XmlReader&text=XmlReader\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static GeoReplication fromXml(XmlReader xmlReader, String rootElementName)"
exceptions:
- description: "If the deserialized XML object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
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: "<xref href=\"com.azure.storage.queue.models.GeoReplication?alt=com.azure.storage.queue.models.GeoReplication&text=GeoReplication\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.GeoReplication.getLastSyncTime()"
fullName: "com.azure.storage.queue.models.GeoReplication.getLastSyncTime()"
name: "getLastSyncTime()"
nameWithType: "GeoReplication.getLastSyncTime()"
summary: "Get the last<wbr>Sync<wbr>Time 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.storage.queue.models.GeoReplication.getStatus()"
fullName: "com.azure.storage.queue.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: "<xref href=\"com.azure.storage.queue.models.GeoReplicationStatus?alt=com.azure.storage.queue.models.GeoReplicationStatus&text=GeoReplicationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.GeoReplication.setLastSyncTime(java.time.OffsetDateTime)"
fullName: "com.azure.storage.queue.models.GeoReplication.setLastSyncTime(OffsetDateTime lastSyncTime)"
name: "setLastSyncTime(OffsetDateTime lastSyncTime)"
nameWithType: "GeoReplication.setLastSyncTime(OffsetDateTime lastSyncTime)"
summary: "Set the last<wbr>Sync<wbr>Time property: A GMT date/time value, to the second."
parameters:
- description: "the lastSyncTime value to set."
name: "lastSyncTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
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: "<xref href=\"com.azure.storage.queue.models.GeoReplication?alt=com.azure.storage.queue.models.GeoReplication&text=GeoReplication\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.GeoReplication.setStatus(com.azure.storage.queue.models.GeoReplicationStatus)"
fullName: "com.azure.storage.queue.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: "<xref href=\"com.azure.storage.queue.models.GeoReplicationStatus?alt=com.azure.storage.queue.models.GeoReplicationStatus&text=GeoReplicationStatus\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GeoReplication setStatus(GeoReplicationStatus status)"
desc: "Set the status property: The status of the secondary location."
returns:
description: "the GeoReplication object itself."
type: "<xref href=\"com.azure.storage.queue.models.GeoReplication?alt=com.azure.storage.queue.models.GeoReplication&text=GeoReplication\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.GeoReplication.toXml(com.azure.xml.XmlWriter)"
fullName: "com.azure.storage.queue.models.GeoReplication.toXml(XmlWriter xmlWriter)"
name: "toXml(XmlWriter xmlWriter)"
nameWithType: "GeoReplication.toXml(XmlWriter xmlWriter)"
parameters:
- name: "xmlWriter"
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public XmlWriter toXml(XmlWriter xmlWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
returns:
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.GeoReplication.toXml(com.azure.xml.XmlWriter,java.lang.String)"
fullName: "com.azure.storage.queue.models.GeoReplication.toXml(XmlWriter xmlWriter, String rootElementName)"
name: "toXml(XmlWriter xmlWriter, String rootElementName)"
nameWithType: "GeoReplication.toXml(XmlWriter xmlWriter, String rootElementName)"
parameters:
- name: "xmlWriter"
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
- name: "rootElementName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
returns:
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The GeoReplication model."
implements:
- "<xref href=\"com.azure.xml.XmlSerializable?alt=com.azure.xml.XmlSerializable&text=XmlSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.storage.queue.models.GeoReplication?alt=com.azure.storage.queue.models.GeoReplication&text=GeoReplication\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.storage.queue.models"
artifact: com.azure:azure-storage-queue:12.22.1