QueueAnalyticsLogging Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueAnalyticsLogging
- com.
Implements
public final class QueueAnalyticsLogging
implements XmlSerializable<QueueAnalyticsLogging>
Azure Analytics Logging settings.
Constructor Summary
Constructor | Description |
---|---|
QueueAnalyticsLogging() |
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 |
getRetentionPolicy()
Get the retention |
String |
getVersion()
Get the version property: The version of Storage Analytics to configure. |
boolean |
isDelete()
Get the delete property: Indicates whether all delete requests should be logged. |
boolean |
isRead()
Get the read property: Indicates whether all read requests should be logged. |
boolean |
isWrite()
Get the write property: Indicates whether all write requests should be logged. |
Queue |
setDelete(boolean delete)
Set the delete property: Indicates whether all delete requests should be logged. |
Queue |
setRead(boolean read)
Set the read property: Indicates whether all read requests should be logged. |
Queue |
setRetentionPolicy(QueueRetentionPolicy retentionPolicy)
Set the retention |
Queue |
setVersion(String version)
Set the version property: The version of Storage Analytics to configure. |
Queue |
setWrite(boolean write)
Set the write property: Indicates whether all write requests should be logged. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
QueueAnalyticsLogging
public QueueAnalyticsLogging()
Creates an instance of QueueAnalyticsLogging class.
Method Details
fromXml
public static QueueAnalyticsLogging fromXml(XmlReader xmlReader)
Reads an instance of QueueAnalyticsLogging from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static QueueAnalyticsLogging fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of QueueAnalyticsLogging from the XmlReader.
Parameters:
Returns:
Throws:
getRetentionPolicy
public QueueRetentionPolicy getRetentionPolicy()
Get the retentionPolicy property: the retention policy.
Returns:
getVersion
public String getVersion()
Get the version property: The version of Storage Analytics to configure.
Returns:
isDelete
public boolean isDelete()
Get the delete property: Indicates whether all delete requests should be logged.
Returns:
isRead
public boolean isRead()
Get the read property: Indicates whether all read requests should be logged.
Returns:
isWrite
public boolean isWrite()
Get the write property: Indicates whether all write requests should be logged.
Returns:
setDelete
public QueueAnalyticsLogging setDelete(boolean delete)
Set the delete property: Indicates whether all delete requests should be logged.
Parameters:
Returns:
setRead
public QueueAnalyticsLogging setRead(boolean read)
Set the read property: Indicates whether all read requests should be logged.
Parameters:
Returns:
setRetentionPolicy
public QueueAnalyticsLogging setRetentionPolicy(QueueRetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy.
Parameters:
Returns:
setVersion
public QueueAnalyticsLogging setVersion(String version)
Set the version property: The version of Storage Analytics to configure.
Parameters:
Returns:
setWrite
public QueueAnalyticsLogging setWrite(boolean write)
Set the write property: Indicates whether all write requests should be logged.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java