PolicySettingsLogScrubbing Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PolicySettingsLogScrubbing
- com.
Implements
public final class PolicySettingsLogScrubbing
implements JsonSerializable<PolicySettingsLogScrubbing>
To scrub sensitive log fields.
Constructor Summary
Constructor | Description |
---|---|
PolicySettingsLogScrubbing() |
Creates an instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
List<Web |
scrubbingRules()
Get the scrubbing |
Web |
state()
Get the state property: State of the log scrubbing config. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Policy |
withScrubbingRules(List<WebApplicationFirewallScrubbingRules> scrubbingRules)
Set the scrubbing |
Policy |
withState(WebApplicationFirewallScrubbingState state)
Set the state property: State of the log scrubbing config. |
Methods inherited from java.lang.Object
Constructor Details
PolicySettingsLogScrubbing
public PolicySettingsLogScrubbing()
Creates an instance of PolicySettingsLogScrubbing class.
Method Details
fromJson
public static PolicySettingsLogScrubbing fromJson(JsonReader jsonReader)
Reads an instance of PolicySettingsLogScrubbing from the JsonReader.
Parameters:
Returns:
Throws:
scrubbingRules
public List
Get the scrubbingRules property: The rules that are applied to the logs for scrubbing.
Returns:
state
public WebApplicationFirewallScrubbingState state()
Get the state property: State of the log scrubbing config. Default value is Enabled.
Returns:
toJson
validate
public void validate()
Validates the instance.
withScrubbingRules
public PolicySettingsLogScrubbing withScrubbingRules(List
Set the scrubbingRules property: The rules that are applied to the logs for scrubbing.
Parameters:
Returns:
withState
public PolicySettingsLogScrubbing withState(WebApplicationFirewallScrubbingState state)
Set the state property: State of the log scrubbing config. Default value is Enabled.
Parameters:
Returns:
Applies to
Azure SDK for Java