LoggingProperties Class
- java.
lang. Object - com.
microsoft. azure. storage. LoggingProperties
- com.
public class LoggingProperties
Represents the logging properties for the analytics service.
Method Summary
Modifier and Type | Method and Description |
---|---|
EnumSet<Logging |
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
Gets an of that represents which storage operations should be logged.
Returns:
EnumSet
of LoggingOperations
.getRetentionIntervalInDays
public Integer getRetentionIntervalInDays()
Gets the retention interval (in days).
Returns:
Integer
which contains the retention interval.getVersion
public String getVersion()
Gets the analytics version.
Returns:
String
which contains the version.setLogOperationTypes
public void setLogOperationTypes(final EnumSet
Sets the for which storage operations should be logged.
Parameters:
setRetentionIntervalInDays
public void setRetentionIntervalInDays(final Integer retentionIntervalInDays)
Sets the retention interval (in days).
Parameters:
Integer
which contains the retention interval to set.
setVersion
public void setVersion(final String version)
Sets the analytics version.
Parameters:
String
which contains the version to set.
Applies to
Azure SDK for Java