public class LogSettings extends Object
| Constructor and Description | 
|---|
| LogSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | category()Get name of a Diagnostic Log category for a resource type this setting is applied to. | 
| boolean | enabled()Get a value indicating whether this log is enabled. | 
| RetentionPolicy | retentionPolicy()Get the retention policy for this log. | 
| LogSettings | withCategory(String category)Set name of a Diagnostic Log category for a resource type this setting is applied to. | 
| LogSettings | withEnabled(boolean enabled)Set a value indicating whether this log is enabled. | 
| LogSettings | withRetentionPolicy(RetentionPolicy retentionPolicy)Set the retention policy for this log. | 
public String category()
public LogSettings withCategory(String category)
category - the category value to setpublic boolean enabled()
public LogSettings withEnabled(boolean enabled)
enabled - the enabled value to setpublic RetentionPolicy retentionPolicy()
public LogSettings withRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy - the retentionPolicy value to setCopyright © 2019. All rights reserved.