Package com.azure.data.tables.models
Class TableServiceLogging
java.lang.Object
com.azure.data.tables.models.TableServiceLogging
A model representing configurable Azure Analytics Logging settings of the Table service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the version of Analytics to configure.Get theRetentionPolicy
.boolean
Get a value that indicates whether all delete requests should be logged.boolean
Get a value that indicates whether all read requests should be logged.boolean
Get a value that indicates whether all write requests should be logged.setAnalyticsVersion
(String analyticsVersion) Set the version of Analytics to configure.setDeleteLogged
(boolean delete) Set a value that indicates whether all delete requests should be logged.setReadLogged
(boolean read) Set a value that indicates whether all read requests should be logged.setRetentionPolicy
(TableServiceRetentionPolicy retentionPolicy) Set theRetentionPolicy
.setWriteLogged
(boolean writeLogged) Set a value that indicates whether all writeLogged requests should be logged.
-
Constructor Details
-
TableServiceLogging
public TableServiceLogging()
-
-
Method Details
-
getAnalyticsVersion
Get the version of Analytics to configure.- Returns:
- The
analyticsVersion
.
-
setAnalyticsVersion
Set the version of Analytics to configure.- Parameters:
analyticsVersion
- TheanalyticsVersion
to set.- Returns:
- The updated
TableServiceLogging
object.
-
isDeleteLogged
public boolean isDeleteLogged()Get a value that indicates whether all delete requests should be logged.- Returns:
- The
deleteLogged
value.
-
setDeleteLogged
Set a value that indicates whether all delete requests should be logged.- Parameters:
delete
- ThedeleteLogged
value to set.- Returns:
- The updated
TableServiceLogging
object.
-
isReadLogged
public boolean isReadLogged()Get a value that indicates whether all read requests should be logged.- Returns:
- The
readLogged
value.
-
setReadLogged
Set a value that indicates whether all read requests should be logged.- Parameters:
read
- ThereadLogged
value to set.- Returns:
- The updated
TableServiceLogging
object.
-
isWriteLogged
public boolean isWriteLogged()Get a value that indicates whether all write requests should be logged.- Returns:
- The
writeLogged
value.
-
setWriteLogged
Set a value that indicates whether all writeLogged requests should be logged.- Parameters:
writeLogged
- ThewriteLogged
value to set.- Returns:
- The updated
TableServiceLogging
object.
-
getRetentionPolicy
Get theRetentionPolicy
.- Returns:
- The
RetentionPolicy
.
-
setRetentionPolicy
Set theRetentionPolicy
.- Parameters:
retentionPolicy
- TheRetentionPolicy
to set.- Returns:
- The updated
TableServiceLogging
object.
-