Partager via


TableServiceLogging Class

  • java.lang.Object
    • com.azure.data.tables.models.TableServiceLogging

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.

TableServiceRetentionPolicy 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.

TableServiceLogging setAnalyticsVersion(String analyticsVersion)

Set the version of Analytics to configure.

TableServiceLogging setDeleteLogged(boolean delete)

Set a value that indicates whether all delete requests should be logged.

TableServiceLogging setReadLogged(boolean read)

Set a value that indicates whether all read requests should be logged.

TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)

Set the RetentionPolicy.

TableServiceLogging setWriteLogged(boolean writeLogged)

Set a value that indicates whether all writeLogged requests should be logged.

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:

The analyticsVersion.

getRetentionPolicy

public TableServiceRetentionPolicy getRetentionPolicy()

Get the RetentionPolicy.

Returns:

The RetentionPolicy.

isDeleteLogged

public boolean isDeleteLogged()

Get a value that indicates whether all delete requests should be logged.

Returns:

The deleteLogged value.

isReadLogged

public boolean isReadLogged()

Get a value that indicates whether all read requests should be logged.

Returns:

The readLogged value.

isWriteLogged

public boolean isWriteLogged()

Get a value that indicates whether all write requests should be logged.

Returns:

The writeLogged value.

setAnalyticsVersion

public TableServiceLogging setAnalyticsVersion(String analyticsVersion)

Set the version of Analytics to configure.

Parameters:

analyticsVersion - The analyticsVersion to set.

Returns:

The updated TableServiceLogging object.

setDeleteLogged

public TableServiceLogging setDeleteLogged(boolean delete)

Set a value that indicates whether all delete requests should be logged.

Parameters:

delete - The deleteLogged value to set.

Returns:

The updated TableServiceLogging object.

setReadLogged

public TableServiceLogging setReadLogged(boolean read)

Set a value that indicates whether all read requests should be logged.

Parameters:

read - The readLogged value to set.

Returns:

The updated TableServiceLogging object.

setRetentionPolicy

public TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)

Set the RetentionPolicy.

Parameters:

retentionPolicy - The RetentionPolicy to set.

Returns:

The updated TableServiceLogging object.

setWriteLogged

public TableServiceLogging setWriteLogged(boolean writeLogged)

Set a value that indicates whether all writeLogged requests should be logged.

Parameters:

writeLogged - The writeLogged value to set.

Returns:

The updated TableServiceLogging object.

Applies to