public class LogSearchRuleResourcePatch extends Object
| Constructor and Description |
|---|
LogSearchRuleResourcePatch() |
| Modifier and Type | Method and Description |
|---|---|
Enabled |
enabled()
Get the enabled property: The flag which indicates whether the Log Search rule is enabled.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
LogSearchRuleResourcePatch |
withEnabled(Enabled enabled)
Set the enabled property: The flag which indicates whether the Log Search rule is enabled.
|
LogSearchRuleResourcePatch |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public Map<String,String> tags()
public LogSearchRuleResourcePatch withTags(Map<String,String> tags)
tags - the tags value to set.public Enabled enabled()
public LogSearchRuleResourcePatch withEnabled(Enabled enabled)
enabled - the enabled value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.