LoggingProperties Class

  • java.lang.Object
    • com.microsoft.azure.storage.LoggingProperties

public class LoggingProperties

Represents the logging properties for the analytics service.

Method Summary

Modifier and Type Method and Description
EnumSet<LoggingOperations> getLogOperationTypes()

Gets an of that represents which storage operations should be logged.

Integer getRetentionIntervalInDays()

Gets the retention interval (in days).

String getVersion()

Gets the analytics version.

void setLogOperationTypes(final EnumSet<LoggingOperations> logOperationTypes)

Sets the for which storage operations should be logged.

void setRetentionIntervalInDays(final Integer retentionIntervalInDays)

Sets the retention interval (in days).

void setVersion(final String version)

Sets the analytics version.

Method Details

getLogOperationTypes

public EnumSet getLogOperationTypes()

Gets an of that represents which storage operations should be logged.

Returns:

An EnumSet of LoggingOperations.

getRetentionIntervalInDays

public Integer getRetentionIntervalInDays()

Gets the retention interval (in days).

Returns:

An Integer which contains the retention interval.

getVersion

public String getVersion()

Gets the analytics version.

Returns:

A String which contains the version.

setLogOperationTypes

public void setLogOperationTypes(final EnumSet logOperationTypes)

Sets the for which storage operations should be logged.

Parameters:

logOperationTypes - An EnumSet of LoggingOperations to set.

setRetentionIntervalInDays

public void setRetentionIntervalInDays(final Integer retentionIntervalInDays)

Sets the retention interval (in days).

Parameters:

retentionIntervalInDays - An Integer which contains the retention interval to set.

setVersion

public void setVersion(final String version)

Sets the analytics version.

Parameters:

version - A String which contains the version to set.

Applies to