public final class FileSystemHttpLogsConfig extends Object
| Constructor and Description |
|---|
FileSystemHttpLogsConfig() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is
not set.
|
Integer |
retentionInDays()
Get the retentionInDays property: Retention in days.
|
Integer |
retentionInMb()
Get the retentionInMb property: Maximum size in megabytes that http log files can use.
|
void |
validate()
Validates the instance.
|
FileSystemHttpLogsConfig |
withEnabled(Boolean enabled)
Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is
not set.
|
FileSystemHttpLogsConfig |
withRetentionInDays(Integer retentionInDays)
Set the retentionInDays property: Retention in days.
|
FileSystemHttpLogsConfig |
withRetentionInMb(Integer retentionInMb)
Set the retentionInMb property: Maximum size in megabytes that http log files can use.
|
public Integer retentionInMb()
public FileSystemHttpLogsConfig withRetentionInMb(Integer retentionInMb)
retentionInMb - the retentionInMb value to set.public Integer retentionInDays()
public FileSystemHttpLogsConfig withRetentionInDays(Integer retentionInDays)
retentionInDays - the retentionInDays value to set.public Boolean enabled()
public FileSystemHttpLogsConfig withEnabled(Boolean enabled)
enabled - the enabled value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.