Package odata.msgraph.client.complex
Class WindowsFirewallNetworkProfile.Builder
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsFirewallNetworkProfile.Builder
-
- Enclosing class:
- WindowsFirewallNetworkProfile
public static final class WindowsFirewallNetworkProfile.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowsFirewallNetworkProfile.BuilderauthorizedApplicationRulesFromGroupPolicyMerged(Boolean authorizedApplicationRulesFromGroupPolicyMerged)“Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules.WindowsFirewallNetworkProfilebuild()WindowsFirewallNetworkProfile.BuilderconnectionSecurityRulesFromGroupPolicyMerged(Boolean connectionSecurityRulesFromGroupPolicyMerged)“Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules.WindowsFirewallNetworkProfile.BuilderfirewallEnabled(StateManagementSetting firewallEnabled)“Configures the host device to allow or block the firewall and advanced security enforcement for the network profile.”WindowsFirewallNetworkProfile.BuilderglobalPortRulesFromGroupPolicyMerged(Boolean globalPortRulesFromGroupPolicyMerged)“Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules.WindowsFirewallNetworkProfile.BuilderinboundConnectionsBlocked(Boolean inboundConnectionsBlocked)“Configures the firewall to block all incoming connections by default.WindowsFirewallNetworkProfile.BuilderinboundNotificationsBlocked(Boolean inboundNotificationsBlocked)“Prevents the firewall from displaying notifications when an application is blocked from listening on a port.WindowsFirewallNetworkProfile.BuilderincomingTrafficBlocked(Boolean incomingTrafficBlocked)“Configures the firewall to block all incoming traffic regardless of other policy settings.WindowsFirewallNetworkProfile.BuilderoutboundConnectionsBlocked(Boolean outboundConnectionsBlocked)“Configures the firewall to block all outgoing connections by default.WindowsFirewallNetworkProfile.BuilderpolicyRulesFromGroupPolicyMerged(Boolean policyRulesFromGroupPolicyMerged)“Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules.WindowsFirewallNetworkProfile.BuildersecuredPacketExemptionAllowed(Boolean securedPacketExemptionAllowed)“Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true.WindowsFirewallNetworkProfile.BuilderstealthModeBlocked(Boolean stealthModeBlocked)“Prevent the server from operating in stealth mode.WindowsFirewallNetworkProfile.BuilderunicastResponsesToMulticastBroadcastsBlocked(Boolean unicastResponsesToMulticastBroadcastsBlocked)“Configures the firewall to block unicast responses to multicast broadcast traffic.
-
-
-
Method Detail
-
authorizedApplicationRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile.Builder authorizedApplicationRulesFromGroupPolicyMerged(Boolean authorizedApplicationRulesFromGroupPolicyMerged)
“Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority.”- Parameters:
authorizedApplicationRulesFromGroupPolicyMerged- value ofauthorizedApplicationRulesFromGroupPolicyMergedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
connectionSecurityRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile.Builder connectionSecurityRulesFromGroupPolicyMerged(Boolean connectionSecurityRulesFromGroupPolicyMerged)
“Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority.”- Parameters:
connectionSecurityRulesFromGroupPolicyMerged- value ofconnectionSecurityRulesFromGroupPolicyMergedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
firewallEnabled
public WindowsFirewallNetworkProfile.Builder firewallEnabled(StateManagementSetting firewallEnabled)
“Configures the host device to allow or block the firewall and advanced security enforcement for the network profile.”- Parameters:
firewallEnabled- value offirewallEnabledproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
globalPortRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile.Builder globalPortRulesFromGroupPolicyMerged(Boolean globalPortRulesFromGroupPolicyMerged)
“Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority.”- Parameters:
globalPortRulesFromGroupPolicyMerged- value ofglobalPortRulesFromGroupPolicyMergedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
inboundConnectionsBlocked
public WindowsFirewallNetworkProfile.Builder inboundConnectionsBlocked(Boolean inboundConnectionsBlocked)
“Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.”- Parameters:
inboundConnectionsBlocked- value ofinboundConnectionsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
inboundNotificationsBlocked
public WindowsFirewallNetworkProfile.Builder inboundNotificationsBlocked(Boolean inboundNotificationsBlocked)
“Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority.”- Parameters:
inboundNotificationsBlocked- value ofinboundNotificationsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
incomingTrafficBlocked
public WindowsFirewallNetworkProfile.Builder incomingTrafficBlocked(Boolean incomingTrafficBlocked)
“Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority.”- Parameters:
incomingTrafficBlocked- value ofincomingTrafficBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
outboundConnectionsBlocked
public WindowsFirewallNetworkProfile.Builder outboundConnectionsBlocked(Boolean outboundConnectionsBlocked)
“Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above.”- Parameters:
outboundConnectionsBlocked- value ofoutboundConnectionsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
policyRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile.Builder policyRulesFromGroupPolicyMerged(Boolean policyRulesFromGroupPolicyMerged)
“Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority.”- Parameters:
policyRulesFromGroupPolicyMerged- value ofpolicyRulesFromGroupPolicyMergedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
securedPacketExemptionAllowed
public WindowsFirewallNetworkProfile.Builder securedPacketExemptionAllowed(Boolean securedPacketExemptionAllowed)
“Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority.”- Parameters:
securedPacketExemptionAllowed- value ofsecuredPacketExemptionAllowedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
stealthModeBlocked
public WindowsFirewallNetworkProfile.Builder stealthModeBlocked(Boolean stealthModeBlocked)
“Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.”- Parameters:
stealthModeBlocked- value ofstealthModeBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
unicastResponsesToMulticastBroadcastsBlocked
public WindowsFirewallNetworkProfile.Builder unicastResponsesToMulticastBroadcastsBlocked(Boolean unicastResponsesToMulticastBroadcastsBlocked)
“Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.”- Parameters:
unicastResponsesToMulticastBroadcastsBlocked- value ofunicastResponsesToMulticastBroadcastsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public WindowsFirewallNetworkProfile build()
-
-