Package com.azure.data.tables.models
Class TableServiceLogging
- java.lang.Object
-
- com.azure.data.tables.models.TableServiceLogging
-
public final class TableServiceLogging extends Object
A model representing configurable Azure Analytics Logging settings of the Table service.
-
-
Constructor Summary
Constructors Constructor Description TableServiceLogging()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnalyticsVersion()Get the version of Analytics to configure.TableServiceRetentionPolicygetRetentionPolicy()Get theRetentionPolicy.booleanisDeleteLogged()Get a value that indicates whether all delete requests should be logged.booleanisReadLogged()Get a value that indicates whether all read requests should be logged.booleanisWriteLogged()Get a value that indicates whether all write requests should be logged.TableServiceLoggingsetAnalyticsVersion(String analyticsVersion)Set the version of Analytics to configure.TableServiceLoggingsetDeleteLogged(boolean delete)Set a value that indicates whether all delete requests should be logged.TableServiceLoggingsetReadLogged(boolean read)Set a value that indicates whether all read requests should be logged.TableServiceLoggingsetRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)Set theRetentionPolicy.TableServiceLoggingsetWriteLogged(boolean writeLogged)Set a value that indicates whether all writeLogged requests should be logged.
-
-
-
Method Detail
-
getAnalyticsVersion
public String getAnalyticsVersion()
Get the version of Analytics to configure.- Returns:
- The
analyticsVersion.
-
setAnalyticsVersion
public TableServiceLogging setAnalyticsVersion(String analyticsVersion)
Set the version of Analytics to configure.- Parameters:
analyticsVersion- TheanalyticsVersionto set.- Returns:
- The updated
TableServiceLoggingobject.
-
isDeleteLogged
public boolean isDeleteLogged()
Get a value that indicates whether all delete requests should be logged.- Returns:
- The
deleteLoggedvalue.
-
setDeleteLogged
public TableServiceLogging setDeleteLogged(boolean delete)
Set a value that indicates whether all delete requests should be logged.- Parameters:
delete- ThedeleteLoggedvalue to set.- Returns:
- The updated
TableServiceLoggingobject.
-
isReadLogged
public boolean isReadLogged()
Get a value that indicates whether all read requests should be logged.- Returns:
- The
readLoggedvalue.
-
setReadLogged
public TableServiceLogging setReadLogged(boolean read)
Set a value that indicates whether all read requests should be logged.- Parameters:
read- ThereadLoggedvalue to set.- Returns:
- The updated
TableServiceLoggingobject.
-
isWriteLogged
public boolean isWriteLogged()
Get a value that indicates whether all write requests should be logged.- Returns:
- The
writeLoggedvalue.
-
setWriteLogged
public TableServiceLogging setWriteLogged(boolean writeLogged)
Set a value that indicates whether all writeLogged requests should be logged.- Parameters:
writeLogged- ThewriteLoggedvalue to set.- Returns:
- The updated
TableServiceLoggingobject.
-
getRetentionPolicy
public TableServiceRetentionPolicy getRetentionPolicy()
Get theRetentionPolicy.- Returns:
- The
RetentionPolicy.
-
setRetentionPolicy
public TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set theRetentionPolicy.- Parameters:
retentionPolicy- TheRetentionPolicyto set.- Returns:
- The updated
TableServiceLoggingobject.
-
-