TableServiceLogging Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceLogging
- com.
public final class TableServiceLogging
A model representing configurable Azure Analytics Logging settings of the Table service.
Constructor Summary
Constructor | Description |
---|---|
TableServiceLogging() |
Creates a TableServiceLogging. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getAnalyticsVersion()
Get the version of Analytics to configure. |
Table |
getRetentionPolicy()
Get the RetentionPolicy. |
boolean |
isDeleteLogged()
Get a value that indicates whether all delete requests should be logged. |
boolean |
isReadLogged()
Get a value that indicates whether all read requests should be logged. |
boolean |
isWriteLogged()
Get a value that indicates whether all write requests should be logged. |
Table |
setAnalyticsVersion(String analyticsVersion)
Set the version of Analytics to configure. |
Table |
setDeleteLogged(boolean delete)
Set a value that indicates whether all delete requests should be logged. |
Table |
setReadLogged(boolean read)
Set a value that indicates whether all read requests should be logged. |
Table |
setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the RetentionPolicy. |
Table |
setWriteLogged(boolean writeLogged)
Set a value that indicates whether all write |
Methods inherited from java.lang.Object
Constructor Details
TableServiceLogging
public TableServiceLogging()
Creates a TableServiceLogging.
Method Details
getAnalyticsVersion
public String getAnalyticsVersion()
Get the version of Analytics to configure.
Returns:
analyticsVersion
.getRetentionPolicy
public TableServiceRetentionPolicy getRetentionPolicy()
Get the RetentionPolicy.
Returns:
isDeleteLogged
public boolean isDeleteLogged()
Get a value that indicates whether all delete requests should be logged.
Returns:
deleteLogged
value.isReadLogged
public boolean isReadLogged()
Get a value that indicates whether all read requests should be logged.
Returns:
readLogged
value.isWriteLogged
public boolean isWriteLogged()
Get a value that indicates whether all write requests should be logged.
Returns:
writeLogged
value.setAnalyticsVersion
public TableServiceLogging setAnalyticsVersion(String analyticsVersion)
Set the version of Analytics to configure.
Parameters:
analyticsVersion
to set.
Returns:
setDeleteLogged
public TableServiceLogging setDeleteLogged(boolean delete)
Set a value that indicates whether all delete requests should be logged.
Parameters:
deleteLogged
value to set.
Returns:
setReadLogged
public TableServiceLogging setReadLogged(boolean read)
Set a value that indicates whether all read requests should be logged.
Parameters:
readLogged
value to set.
Returns:
setRetentionPolicy
public TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the RetentionPolicy.
Parameters:
Returns:
setWriteLogged
public TableServiceLogging setWriteLogged(boolean writeLogged)
Set a value that indicates whether all writeLogged requests should be logged.
Parameters:
writeLogged
value to set.
Returns:
Applies to
Azure SDK for Java