QueueServiceProperties Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueServiceProperties
- com.
Implements
public final class QueueServiceProperties
implements XmlSerializable<QueueServiceProperties>
Storage Service Properties.
Constructor Summary
Constructor | Description |
---|---|
QueueServiceProperties() |
Creates an instance of Queue |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Queue |
fromXml(XmlReader xmlReader)
Reads an instance of Queue |
static
Queue |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Queue |
Queue |
getAnalyticsLogging()
Get the analytics |
List<Queue |
getCors()
Get the cors property: The set of CORS rules. |
Queue |
getHourMetrics()
Get the hour |
Queue |
getMinuteMetrics()
Get the minute |
Queue |
setAnalyticsLogging(QueueAnalyticsLogging analyticsLogging)
Set the analytics |
Queue |
setCors(List<QueueCorsRule> cors)
Set the cors property: The set of CORS rules. |
Queue |
setHourMetrics(QueueMetrics hourMetrics)
Set the hour |
Queue |
setMinuteMetrics(QueueMetrics minuteMetrics)
Set the minute |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
QueueServiceProperties
public QueueServiceProperties()
Creates an instance of QueueServiceProperties class.
Method Details
fromXml
public static QueueServiceProperties fromXml(XmlReader xmlReader)
Reads an instance of QueueServiceProperties from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static QueueServiceProperties fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of QueueServiceProperties from the XmlReader.
Parameters:
Returns:
Throws:
getAnalyticsLogging
public QueueAnalyticsLogging getAnalyticsLogging()
Get the analyticsLogging property: Azure Analytics Logging settings.
Returns:
getCors
public List
Get the cors property: The set of CORS rules.
Returns:
getHourMetrics
public QueueMetrics getHourMetrics()
Get the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for queues.
Returns:
getMinuteMetrics
public QueueMetrics getMinuteMetrics()
Get the minuteMetrics property: a summary of request statistics grouped by API in minute aggregates for queues.
Returns:
setAnalyticsLogging
public QueueServiceProperties setAnalyticsLogging(QueueAnalyticsLogging analyticsLogging)
Set the analyticsLogging property: Azure Analytics Logging settings.
Parameters:
Returns:
setCors
public QueueServiceProperties setCors(List
Set the cors property: The set of CORS rules.
Parameters:
Returns:
setHourMetrics
public QueueServiceProperties setHourMetrics(QueueMetrics hourMetrics)
Set the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for queues.
Parameters:
Returns:
setMinuteMetrics
public QueueServiceProperties setMinuteMetrics(QueueMetrics minuteMetrics)
Set the minuteMetrics property: a summary of request statistics grouped by API in minute aggregates for queues.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java