BlobServiceStatistics Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobServiceStatistics

Implements

public final class BlobServiceStatistics
implements XmlSerializable<BlobServiceStatistics>

Stats for the storage service.

Constructor Summary

Constructor Description
BlobServiceStatistics()

Creates an instance of BlobServiceStatistics class.

Method Summary

Modifier and Type Method and Description
static BlobServiceStatistics fromXml(XmlReader xmlReader)

Reads an instance of BlobServiceStatistics from the XmlReader.

static BlobServiceStatistics fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of BlobServiceStatistics from the XmlReader.

GeoReplication getGeoReplication()

Get the geoReplication property: Geo-Replication information for the Secondary Storage Service.

BlobServiceStatistics setGeoReplication(GeoReplication geoReplication)

Set the geoReplication property: Geo-Replication information for the Secondary Storage Service.

XmlWriter toXml(XmlWriter xmlWriter)
XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Methods inherited from java.lang.Object

Constructor Details

BlobServiceStatistics

public BlobServiceStatistics()

Creates an instance of BlobServiceStatistics class.

Method Details

fromXml

public static BlobServiceStatistics fromXml(XmlReader xmlReader)

Reads an instance of BlobServiceStatistics from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.

Returns:

An instance of BlobServiceStatistics if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If an error occurs while reading the BlobServiceStatistics.

fromXml

public static BlobServiceStatistics fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of BlobServiceStatistics from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.
rootElementName - Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.

Returns:

An instance of BlobServiceStatistics if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If an error occurs while reading the BlobServiceStatistics.

getGeoReplication

public GeoReplication getGeoReplication()

Get the geoReplication property: Geo-Replication information for the Secondary Storage Service.

Returns:

the geoReplication value.

setGeoReplication

public BlobServiceStatistics setGeoReplication(GeoReplication geoReplication)

Set the geoReplication property: Geo-Replication information for the Secondary Storage Service.

Parameters:

geoReplication - the geoReplication value to set.

Returns:

the BlobServiceStatistics object itself.

toXml

public XmlWriter toXml(XmlWriter xmlWriter)

Parameters:

xmlWriter

Throws:

toXml

public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Parameters:

xmlWriter
rootElementName

Throws:

Applies to