public class PolicySettings extends Object
| Constructor and Description |
|---|
PolicySettings() |
| Modifier and Type | Method and Description |
|---|---|
WebApplicationFirewallEnabledState |
enabledState()
Get describes if the policy is in enabled state or disabled state.
|
WebApplicationFirewallMode |
mode()
Get describes if it is in detection mode or prevention mode at policy level.
|
PolicySettings |
withEnabledState(WebApplicationFirewallEnabledState enabledState)
Set describes if the policy is in enabled state or disabled state.
|
PolicySettings |
withMode(WebApplicationFirewallMode mode)
Set describes if it is in detection mode or prevention mode at policy level.
|
public WebApplicationFirewallEnabledState enabledState()
public PolicySettings withEnabledState(WebApplicationFirewallEnabledState enabledState)
enabledState - the enabledState value to setpublic WebApplicationFirewallMode mode()
public PolicySettings withMode(WebApplicationFirewallMode mode)
mode - the mode value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/