Class PolicySettingsLogScrubbing
java.lang.Object
com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing
To scrub sensitive log fields.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PolicySettingsLogScrubbing class. -
Method Summary
Modifier and TypeMethodDescriptionGet the scrubbingRules property: The rules that are applied to the logs for scrubbing.state()Get the state property: State of the log scrubbing config.voidvalidate()Validates the instance.withScrubbingRules(List<WebApplicationFirewallScrubbingRules> scrubbingRules) Set the scrubbingRules property: The rules that are applied to the logs for scrubbing.Set the state property: State of the log scrubbing config.
-
Constructor Details
-
PolicySettingsLogScrubbing
public PolicySettingsLogScrubbing()Creates an instance of PolicySettingsLogScrubbing class.
-
-
Method Details
-
state
Get the state property: State of the log scrubbing config. Default value is Enabled.- Returns:
- the state value.
-
withState
Set the state property: State of the log scrubbing config. Default value is Enabled.- Parameters:
state- the state value to set.- Returns:
- the PolicySettingsLogScrubbing object itself.
-
scrubbingRules
Get the scrubbingRules property: The rules that are applied to the logs for scrubbing.- Returns:
- the scrubbingRules value.
-
withScrubbingRules
public PolicySettingsLogScrubbing withScrubbingRules(List<WebApplicationFirewallScrubbingRules> scrubbingRules) Set the scrubbingRules property: The rules that are applied to the logs for scrubbing.- Parameters:
scrubbingRules- the scrubbingRules value to set.- Returns:
- the PolicySettingsLogScrubbing object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-