BlobAnalyticsLogging Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobAnalyticsLogging
- com.
Implements
public final class BlobAnalyticsLogging
implements XmlSerializable<BlobAnalyticsLogging>
Azure Analytics Logging settings.
Constructor Summary
Constructor | Description |
---|---|
BlobAnalyticsLogging() |
Creates an instance of Blob |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Blob |
fromXml(XmlReader xmlReader)
Reads an instance of Blob |
static
Blob |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Blob |
Blob |
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. |
Blob |
setDelete(boolean delete)
Set the delete property: Indicates whether all delete requests should be logged. |
Blob |
setRead(boolean read)
Set the read property: Indicates whether all read requests should be logged. |
Blob |
setRetentionPolicy(BlobRetentionPolicy retentionPolicy)
Set the retention |
Blob |
setVersion(String version)
Set the version property: The version of Storage Analytics to configure. |
Blob |
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
BlobAnalyticsLogging
public BlobAnalyticsLogging()
Creates an instance of BlobAnalyticsLogging class.
Method Details
fromXml
public static BlobAnalyticsLogging fromXml(XmlReader xmlReader)
Reads an instance of BlobAnalyticsLogging from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static BlobAnalyticsLogging fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of BlobAnalyticsLogging from the XmlReader.
Parameters:
Returns:
Throws:
getRetentionPolicy
public BlobRetentionPolicy getRetentionPolicy()
Get the retentionPolicy property: the retention policy which determines how long the associated data should persist.
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 BlobAnalyticsLogging setDelete(boolean delete)
Set the delete property: Indicates whether all delete requests should be logged.
Parameters:
Returns:
setRead
public BlobAnalyticsLogging setRead(boolean read)
Set the read property: Indicates whether all read requests should be logged.
Parameters:
Returns:
setRetentionPolicy
public BlobAnalyticsLogging setRetentionPolicy(BlobRetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy which determines how long the associated data should persist.
Parameters:
Returns:
setVersion
public BlobAnalyticsLogging setVersion(String version)
Set the version property: The version of Storage Analytics to configure.
Parameters:
Returns:
setWrite
public BlobAnalyticsLogging 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: