public class FileSystemHttpLogsConfig extends Object
Constructor and Description |
---|
FileSystemHttpLogsConfig() |
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get true if configuration is enabled, false if it is disabled and null if configuration is not set.
|
Integer |
retentionInDays()
Get retention in days.
|
Integer |
retentionInMb()
Get maximum size in megabytes that http log files can use.
|
FileSystemHttpLogsConfig |
withEnabled(Boolean enabled)
Set true if configuration is enabled, false if it is disabled and null if configuration is not set.
|
FileSystemHttpLogsConfig |
withRetentionInDays(Integer retentionInDays)
Set retention in days.
|
FileSystemHttpLogsConfig |
withRetentionInMb(Integer retentionInMb)
Set maximum size in megabytes that http log files can use.
|
public Integer retentionInMb()
public FileSystemHttpLogsConfig withRetentionInMb(Integer retentionInMb)
retentionInMb
- the retentionInMb value to setpublic Integer retentionInDays()
public FileSystemHttpLogsConfig withRetentionInDays(Integer retentionInDays)
retentionInDays
- the retentionInDays value to setpublic Boolean enabled()
public FileSystemHttpLogsConfig withEnabled(Boolean enabled)
enabled
- the enabled value to setCopyright © 2019. All rights reserved.