QueueAnalyticsLogging Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueAnalyticsLogging
- com.
public final class QueueAnalyticsLogging
Azure Analytics Logging settings.
Constructor Summary
Constructor | Description |
---|---|
QueueAnalyticsLogging() |
Creates an instance of Queue |
Method Summary
Modifier and Type | Method and Description |
---|---|
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. |
Methods inherited from java.lang.Object
Constructor Details
QueueAnalyticsLogging
public QueueAnalyticsLogging()
Creates an instance of QueueAnalyticsLogging class.
Method Details
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for