Class WindowsFirewallNetworkProfile
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsFirewallNetworkProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsFirewallNetworkProfile extends Object implements com.github.davidmoten.odata.client.ODataType
“Windows Firewall Profile Policies.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsFirewallNetworkProfile.Builder
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsFirewallNetworkProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsFirewallNetworkProfile.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAuthorizedApplicationRulesFromGroupPolicyMerged()“Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getAuthorizedApplicationRulesFromGroupPolicyNotMerged()“Configures the firewall to prevent merging authorized application rules from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getConnectionSecurityRulesFromGroupPolicyMerged()“Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getConnectionSecurityRulesFromGroupPolicyNotMerged()“Configures the firewall to prevent merging connection security rules from group policy with those from local store instead of ignoring the local store rules.Optional<StateManagementSetting>getFirewallEnabled()“Configures the host device to allow or block the firewall and advanced security enforcement for the network profile.”Optional<Boolean>getGlobalPortRulesFromGroupPolicyMerged()“Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getGlobalPortRulesFromGroupPolicyNotMerged()“Configures the firewall to prevent merging global port rules from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getInboundConnectionsBlocked()“Configures the firewall to block all incoming connections by default.Optional<Boolean>getInboundConnectionsRequired()“Configures the firewall to allow all incoming connections by default.Optional<Boolean>getInboundNotificationsBlocked()“Prevents the firewall from displaying notifications when an application is blocked from listening on a port.Optional<Boolean>getInboundNotificationsRequired()“Allows the firewall to display notifications when an application is blocked from listening on a port.Optional<Boolean>getIncomingTrafficBlocked()“Configures the firewall to block all incoming traffic regardless of other policy settings.Optional<Boolean>getIncomingTrafficRequired()“Configures the firewall to allow incoming traffic pursuant to other policy settings.Optional<Boolean>getOutboundConnectionsBlocked()“Configures the firewall to block all outgoing connections by default.Optional<Boolean>getOutboundConnectionsRequired()“Configures the firewall to allow all outgoing connections by default.Optional<Boolean>getPolicyRulesFromGroupPolicyMerged()“Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getPolicyRulesFromGroupPolicyNotMerged()“Configures the firewall to prevent merging Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules.Optional<Boolean>getSecuredPacketExemptionAllowed()“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.Optional<Boolean>getSecuredPacketExemptionBlocked()“Configures the firewall to block the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true.Optional<Boolean>getStealthModeBlocked()“Prevent the server from operating in stealth mode.Optional<Boolean>getStealthModeRequired()“Allow the server to operate in stealth mode.Optional<Boolean>getUnicastResponsesToMulticastBroadcastsBlocked()“Configures the firewall to block unicast responses to multicast broadcast traffic.Optional<Boolean>getUnicastResponsesToMulticastBroadcastsRequired()“Configures the firewall to allow unicast responses to multicast broadcast traffic.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsFirewallNetworkProfilewithAuthorizedApplicationRulesFromGroupPolicyMerged(Boolean authorizedApplicationRulesFromGroupPolicyMerged)Returns an immutable copy ofthiswith just theauthorizedApplicationRulesFromGroupPolicyMergedfield changed.WindowsFirewallNetworkProfilewithAuthorizedApplicationRulesFromGroupPolicyNotMerged(Boolean authorizedApplicationRulesFromGroupPolicyNotMerged)Returns an immutable copy ofthiswith just theauthorizedApplicationRulesFromGroupPolicyNotMergedfield changed.WindowsFirewallNetworkProfilewithConnectionSecurityRulesFromGroupPolicyMerged(Boolean connectionSecurityRulesFromGroupPolicyMerged)Returns an immutable copy ofthiswith just theconnectionSecurityRulesFromGroupPolicyMergedfield changed.WindowsFirewallNetworkProfilewithConnectionSecurityRulesFromGroupPolicyNotMerged(Boolean connectionSecurityRulesFromGroupPolicyNotMerged)Returns an immutable copy ofthiswith just theconnectionSecurityRulesFromGroupPolicyNotMergedfield changed.WindowsFirewallNetworkProfilewithFirewallEnabled(StateManagementSetting firewallEnabled)Returns an immutable copy ofthiswith just thefirewallEnabledfield changed.WindowsFirewallNetworkProfilewithGlobalPortRulesFromGroupPolicyMerged(Boolean globalPortRulesFromGroupPolicyMerged)Returns an immutable copy ofthiswith just theglobalPortRulesFromGroupPolicyMergedfield changed.WindowsFirewallNetworkProfilewithGlobalPortRulesFromGroupPolicyNotMerged(Boolean globalPortRulesFromGroupPolicyNotMerged)Returns an immutable copy ofthiswith just theglobalPortRulesFromGroupPolicyNotMergedfield changed.WindowsFirewallNetworkProfilewithInboundConnectionsBlocked(Boolean inboundConnectionsBlocked)Returns an immutable copy ofthiswith just theinboundConnectionsBlockedfield changed.WindowsFirewallNetworkProfilewithInboundConnectionsRequired(Boolean inboundConnectionsRequired)Returns an immutable copy ofthiswith just theinboundConnectionsRequiredfield changed.WindowsFirewallNetworkProfilewithInboundNotificationsBlocked(Boolean inboundNotificationsBlocked)Returns an immutable copy ofthiswith just theinboundNotificationsBlockedfield changed.WindowsFirewallNetworkProfilewithInboundNotificationsRequired(Boolean inboundNotificationsRequired)Returns an immutable copy ofthiswith just theinboundNotificationsRequiredfield changed.WindowsFirewallNetworkProfilewithIncomingTrafficBlocked(Boolean incomingTrafficBlocked)Returns an immutable copy ofthiswith just theincomingTrafficBlockedfield changed.WindowsFirewallNetworkProfilewithIncomingTrafficRequired(Boolean incomingTrafficRequired)Returns an immutable copy ofthiswith just theincomingTrafficRequiredfield changed.WindowsFirewallNetworkProfilewithOutboundConnectionsBlocked(Boolean outboundConnectionsBlocked)Returns an immutable copy ofthiswith just theoutboundConnectionsBlockedfield changed.WindowsFirewallNetworkProfilewithOutboundConnectionsRequired(Boolean outboundConnectionsRequired)Returns an immutable copy ofthiswith just theoutboundConnectionsRequiredfield changed.WindowsFirewallNetworkProfilewithPolicyRulesFromGroupPolicyMerged(Boolean policyRulesFromGroupPolicyMerged)Returns an immutable copy ofthiswith just thepolicyRulesFromGroupPolicyMergedfield changed.WindowsFirewallNetworkProfilewithPolicyRulesFromGroupPolicyNotMerged(Boolean policyRulesFromGroupPolicyNotMerged)Returns an immutable copy ofthiswith just thepolicyRulesFromGroupPolicyNotMergedfield changed.WindowsFirewallNetworkProfilewithSecuredPacketExemptionAllowed(Boolean securedPacketExemptionAllowed)Returns an immutable copy ofthiswith just thesecuredPacketExemptionAllowedfield changed.WindowsFirewallNetworkProfilewithSecuredPacketExemptionBlocked(Boolean securedPacketExemptionBlocked)Returns an immutable copy ofthiswith just thesecuredPacketExemptionBlockedfield changed.WindowsFirewallNetworkProfilewithStealthModeBlocked(Boolean stealthModeBlocked)Returns an immutable copy ofthiswith just thestealthModeBlockedfield changed.WindowsFirewallNetworkProfilewithStealthModeRequired(Boolean stealthModeRequired)Returns an immutable copy ofthiswith just thestealthModeRequiredfield changed.WindowsFirewallNetworkProfilewithUnicastResponsesToMulticastBroadcastsBlocked(Boolean unicastResponsesToMulticastBroadcastsBlocked)Returns an immutable copy ofthiswith just theunicastResponsesToMulticastBroadcastsBlockedfield changed.WindowsFirewallNetworkProfilewithUnicastResponsesToMulticastBroadcastsRequired(Boolean unicastResponsesToMulticastBroadcastsRequired)Returns an immutable copy ofthiswith just theunicastResponsesToMulticastBroadcastsRequiredfield changed.WindowsFirewallNetworkProfilewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
authorizedApplicationRulesFromGroupPolicyMerged
protected Boolean authorizedApplicationRulesFromGroupPolicyMerged
-
authorizedApplicationRulesFromGroupPolicyNotMerged
protected Boolean authorizedApplicationRulesFromGroupPolicyNotMerged
-
connectionSecurityRulesFromGroupPolicyMerged
protected Boolean connectionSecurityRulesFromGroupPolicyMerged
-
connectionSecurityRulesFromGroupPolicyNotMerged
protected Boolean connectionSecurityRulesFromGroupPolicyNotMerged
-
firewallEnabled
protected StateManagementSetting firewallEnabled
-
globalPortRulesFromGroupPolicyMerged
protected Boolean globalPortRulesFromGroupPolicyMerged
-
globalPortRulesFromGroupPolicyNotMerged
protected Boolean globalPortRulesFromGroupPolicyNotMerged
-
inboundConnectionsBlocked
protected Boolean inboundConnectionsBlocked
-
inboundConnectionsRequired
protected Boolean inboundConnectionsRequired
-
inboundNotificationsBlocked
protected Boolean inboundNotificationsBlocked
-
inboundNotificationsRequired
protected Boolean inboundNotificationsRequired
-
incomingTrafficBlocked
protected Boolean incomingTrafficBlocked
-
incomingTrafficRequired
protected Boolean incomingTrafficRequired
-
outboundConnectionsBlocked
protected Boolean outboundConnectionsBlocked
-
outboundConnectionsRequired
protected Boolean outboundConnectionsRequired
-
policyRulesFromGroupPolicyMerged
protected Boolean policyRulesFromGroupPolicyMerged
-
policyRulesFromGroupPolicyNotMerged
protected Boolean policyRulesFromGroupPolicyNotMerged
-
securedPacketExemptionAllowed
protected Boolean securedPacketExemptionAllowed
-
securedPacketExemptionBlocked
protected Boolean securedPacketExemptionBlocked
-
stealthModeBlocked
protected Boolean stealthModeBlocked
-
stealthModeRequired
protected Boolean stealthModeRequired
-
unicastResponsesToMulticastBroadcastsBlocked
protected Boolean unicastResponsesToMulticastBroadcastsBlocked
-
unicastResponsesToMulticastBroadcastsRequired
protected Boolean unicastResponsesToMulticastBroadcastsRequired
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAuthorizedApplicationRulesFromGroupPolicyMerged
public Optional<Boolean> getAuthorizedApplicationRulesFromGroupPolicyMerged()
“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.”- Returns:
- property authorizedApplicationRulesFromGroupPolicyMerged
-
withAuthorizedApplicationRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile withAuthorizedApplicationRulesFromGroupPolicyMerged(Boolean authorizedApplicationRulesFromGroupPolicyMerged)
Returns an immutable copy ofthiswith just theauthorizedApplicationRulesFromGroupPolicyMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofauthorizedApplicationRulesFromGroupPolicyMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthorizedApplicationRulesFromGroupPolicyMergedfield changed
-
getAuthorizedApplicationRulesFromGroupPolicyNotMerged
public Optional<Boolean> getAuthorizedApplicationRulesFromGroupPolicyNotMerged()
“Configures the firewall to prevent merging 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.”- Returns:
- property authorizedApplicationRulesFromGroupPolicyNotMerged
-
withAuthorizedApplicationRulesFromGroupPolicyNotMerged
public WindowsFirewallNetworkProfile withAuthorizedApplicationRulesFromGroupPolicyNotMerged(Boolean authorizedApplicationRulesFromGroupPolicyNotMerged)
Returns an immutable copy ofthiswith just theauthorizedApplicationRulesFromGroupPolicyNotMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to prevent merging 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:
authorizedApplicationRulesFromGroupPolicyNotMerged- new value ofauthorizedApplicationRulesFromGroupPolicyNotMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthorizedApplicationRulesFromGroupPolicyNotMergedfield changed
-
getConnectionSecurityRulesFromGroupPolicyMerged
public Optional<Boolean> getConnectionSecurityRulesFromGroupPolicyMerged()
“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.”- Returns:
- property connectionSecurityRulesFromGroupPolicyMerged
-
withConnectionSecurityRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile withConnectionSecurityRulesFromGroupPolicyMerged(Boolean connectionSecurityRulesFromGroupPolicyMerged)
Returns an immutable copy ofthiswith just theconnectionSecurityRulesFromGroupPolicyMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofconnectionSecurityRulesFromGroupPolicyMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectionSecurityRulesFromGroupPolicyMergedfield changed
-
getConnectionSecurityRulesFromGroupPolicyNotMerged
public Optional<Boolean> getConnectionSecurityRulesFromGroupPolicyNotMerged()
“Configures the firewall to prevent merging 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.”- Returns:
- property connectionSecurityRulesFromGroupPolicyNotMerged
-
withConnectionSecurityRulesFromGroupPolicyNotMerged
public WindowsFirewallNetworkProfile withConnectionSecurityRulesFromGroupPolicyNotMerged(Boolean connectionSecurityRulesFromGroupPolicyNotMerged)
Returns an immutable copy ofthiswith just theconnectionSecurityRulesFromGroupPolicyNotMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to prevent merging 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:
connectionSecurityRulesFromGroupPolicyNotMerged- new value ofconnectionSecurityRulesFromGroupPolicyNotMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectionSecurityRulesFromGroupPolicyNotMergedfield changed
-
getFirewallEnabled
public Optional<StateManagementSetting> getFirewallEnabled()
“Configures the host device to allow or block the firewall and advanced security enforcement for the network profile.”- Returns:
- property firewallEnabled
-
withFirewallEnabled
public WindowsFirewallNetworkProfile withFirewallEnabled(StateManagementSetting firewallEnabled)
Returns an immutable copy ofthiswith just thefirewallEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the host device to allow or block the firewall and advanced security enforcement for the network profile.”
- Parameters:
firewallEnabled- new value offirewallEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefirewallEnabledfield changed
-
getGlobalPortRulesFromGroupPolicyMerged
public Optional<Boolean> getGlobalPortRulesFromGroupPolicyMerged()
“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.”- Returns:
- property globalPortRulesFromGroupPolicyMerged
-
withGlobalPortRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile withGlobalPortRulesFromGroupPolicyMerged(Boolean globalPortRulesFromGroupPolicyMerged)
Returns an immutable copy ofthiswith just theglobalPortRulesFromGroupPolicyMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofglobalPortRulesFromGroupPolicyMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theglobalPortRulesFromGroupPolicyMergedfield changed
-
getGlobalPortRulesFromGroupPolicyNotMerged
public Optional<Boolean> getGlobalPortRulesFromGroupPolicyNotMerged()
“Configures the firewall to prevent merging 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.”- Returns:
- property globalPortRulesFromGroupPolicyNotMerged
-
withGlobalPortRulesFromGroupPolicyNotMerged
public WindowsFirewallNetworkProfile withGlobalPortRulesFromGroupPolicyNotMerged(Boolean globalPortRulesFromGroupPolicyNotMerged)
Returns an immutable copy ofthiswith just theglobalPortRulesFromGroupPolicyNotMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to prevent merging 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:
globalPortRulesFromGroupPolicyNotMerged- new value ofglobalPortRulesFromGroupPolicyNotMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theglobalPortRulesFromGroupPolicyNotMergedfield changed
-
getInboundConnectionsBlocked
public Optional<Boolean> getInboundConnectionsBlocked()
“Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.”- Returns:
- property inboundConnectionsBlocked
-
withInboundConnectionsBlocked
public WindowsFirewallNetworkProfile withInboundConnectionsBlocked(Boolean inboundConnectionsBlocked)
Returns an immutable copy ofthiswith just theinboundConnectionsBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.”
- Parameters:
inboundConnectionsBlocked- new value ofinboundConnectionsBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinboundConnectionsBlockedfield changed
-
getInboundConnectionsRequired
public Optional<Boolean> getInboundConnectionsRequired()
“Configures the firewall to allow all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.”- Returns:
- property inboundConnectionsRequired
-
withInboundConnectionsRequired
public WindowsFirewallNetworkProfile withInboundConnectionsRequired(Boolean inboundConnectionsRequired)
Returns an immutable copy ofthiswith just theinboundConnectionsRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to allow all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.”
- Parameters:
inboundConnectionsRequired- new value ofinboundConnectionsRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinboundConnectionsRequiredfield changed
-
getInboundNotificationsBlocked
public Optional<Boolean> getInboundNotificationsBlocked()
“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.”- Returns:
- property inboundNotificationsBlocked
-
withInboundNotificationsBlocked
public WindowsFirewallNetworkProfile withInboundNotificationsBlocked(Boolean inboundNotificationsBlocked)
Returns an immutable copy ofthiswith just theinboundNotificationsBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofinboundNotificationsBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinboundNotificationsBlockedfield changed
-
getInboundNotificationsRequired
public Optional<Boolean> getInboundNotificationsRequired()
“Allows the firewall to display notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority.”- Returns:
- property inboundNotificationsRequired
-
withInboundNotificationsRequired
public WindowsFirewallNetworkProfile withInboundNotificationsRequired(Boolean inboundNotificationsRequired)
Returns an immutable copy ofthiswith just theinboundNotificationsRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Allows the firewall to display notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority.”
- Parameters:
inboundNotificationsRequired- new value ofinboundNotificationsRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinboundNotificationsRequiredfield changed
-
getIncomingTrafficBlocked
public Optional<Boolean> getIncomingTrafficBlocked()
“Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority.”- Returns:
- property incomingTrafficBlocked
-
withIncomingTrafficBlocked
public WindowsFirewallNetworkProfile withIncomingTrafficBlocked(Boolean incomingTrafficBlocked)
Returns an immutable copy ofthiswith just theincomingTrafficBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofincomingTrafficBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theincomingTrafficBlockedfield changed
-
getIncomingTrafficRequired
public Optional<Boolean> getIncomingTrafficRequired()
“Configures the firewall to allow incoming traffic pursuant to other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority.”- Returns:
- property incomingTrafficRequired
-
withIncomingTrafficRequired
public WindowsFirewallNetworkProfile withIncomingTrafficRequired(Boolean incomingTrafficRequired)
Returns an immutable copy ofthiswith just theincomingTrafficRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to allow incoming traffic pursuant to other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority.”
- Parameters:
incomingTrafficRequired- new value ofincomingTrafficRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theincomingTrafficRequiredfield changed
-
getOutboundConnectionsBlocked
public Optional<Boolean> getOutboundConnectionsBlocked()
“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.”- Returns:
- property outboundConnectionsBlocked
-
withOutboundConnectionsBlocked
public WindowsFirewallNetworkProfile withOutboundConnectionsBlocked(Boolean outboundConnectionsBlocked)
Returns an immutable copy ofthiswith just theoutboundConnectionsBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofoutboundConnectionsBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoutboundConnectionsBlockedfield changed
-
getOutboundConnectionsRequired
public Optional<Boolean> getOutboundConnectionsRequired()
“Configures the firewall to allow 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.”- Returns:
- property outboundConnectionsRequired
-
withOutboundConnectionsRequired
public WindowsFirewallNetworkProfile withOutboundConnectionsRequired(Boolean outboundConnectionsRequired)
Returns an immutable copy ofthiswith just theoutboundConnectionsRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to allow 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:
outboundConnectionsRequired- new value ofoutboundConnectionsRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoutboundConnectionsRequiredfield changed
-
getPolicyRulesFromGroupPolicyMerged
public Optional<Boolean> getPolicyRulesFromGroupPolicyMerged()
“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.”- Returns:
- property policyRulesFromGroupPolicyMerged
-
withPolicyRulesFromGroupPolicyMerged
public WindowsFirewallNetworkProfile withPolicyRulesFromGroupPolicyMerged(Boolean policyRulesFromGroupPolicyMerged)
Returns an immutable copy ofthiswith just thepolicyRulesFromGroupPolicyMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofpolicyRulesFromGroupPolicyMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepolicyRulesFromGroupPolicyMergedfield changed
-
getPolicyRulesFromGroupPolicyNotMerged
public Optional<Boolean> getPolicyRulesFromGroupPolicyNotMerged()
“Configures the firewall to prevent merging 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.”- Returns:
- property policyRulesFromGroupPolicyNotMerged
-
withPolicyRulesFromGroupPolicyNotMerged
public WindowsFirewallNetworkProfile withPolicyRulesFromGroupPolicyNotMerged(Boolean policyRulesFromGroupPolicyNotMerged)
Returns an immutable copy ofthiswith just thepolicyRulesFromGroupPolicyNotMergedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to prevent merging 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:
policyRulesFromGroupPolicyNotMerged- new value ofpolicyRulesFromGroupPolicyNotMergedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepolicyRulesFromGroupPolicyNotMergedfield changed
-
getSecuredPacketExemptionAllowed
public Optional<Boolean> getSecuredPacketExemptionAllowed()
“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.”- Returns:
- property securedPacketExemptionAllowed
-
withSecuredPacketExemptionAllowed
public WindowsFirewallNetworkProfile withSecuredPacketExemptionAllowed(Boolean securedPacketExemptionAllowed)
Returns an immutable copy ofthiswith just thesecuredPacketExemptionAllowedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofsecuredPacketExemptionAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecuredPacketExemptionAllowedfield changed
-
getSecuredPacketExemptionBlocked
public Optional<Boolean> getSecuredPacketExemptionBlocked()
“Configures the firewall to block 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.”- Returns:
- property securedPacketExemptionBlocked
-
withSecuredPacketExemptionBlocked
public WindowsFirewallNetworkProfile withSecuredPacketExemptionBlocked(Boolean securedPacketExemptionBlocked)
Returns an immutable copy ofthiswith just thesecuredPacketExemptionBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to block 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:
securedPacketExemptionBlocked- new value ofsecuredPacketExemptionBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecuredPacketExemptionBlockedfield changed
-
getStealthModeBlocked
public Optional<Boolean> getStealthModeBlocked()
“Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.”- Returns:
- property stealthModeBlocked
-
withStealthModeBlocked
public WindowsFirewallNetworkProfile withStealthModeBlocked(Boolean stealthModeBlocked)
Returns an immutable copy ofthiswith just thestealthModeBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.”
- Parameters:
stealthModeBlocked- new value ofstealthModeBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestealthModeBlockedfield changed
-
getStealthModeRequired
public Optional<Boolean> getStealthModeRequired()
“Allow the server to operate in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.”- Returns:
- property stealthModeRequired
-
withStealthModeRequired
public WindowsFirewallNetworkProfile withStealthModeRequired(Boolean stealthModeRequired)
Returns an immutable copy ofthiswith just thestealthModeRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Allow the server to operate in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.”
- Parameters:
stealthModeRequired- new value ofstealthModeRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestealthModeRequiredfield changed
-
getUnicastResponsesToMulticastBroadcastsBlocked
public Optional<Boolean> getUnicastResponsesToMulticastBroadcastsBlocked()
“Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.”- Returns:
- property unicastResponsesToMulticastBroadcastsBlocked
-
withUnicastResponsesToMulticastBroadcastsBlocked
public WindowsFirewallNetworkProfile withUnicastResponsesToMulticastBroadcastsBlocked(Boolean unicastResponsesToMulticastBroadcastsBlocked)
Returns an immutable copy ofthiswith just theunicastResponsesToMulticastBroadcastsBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.”
- Parameters:
unicastResponsesToMulticastBroadcastsBlocked- new value ofunicastResponsesToMulticastBroadcastsBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunicastResponsesToMulticastBroadcastsBlockedfield changed
-
getUnicastResponsesToMulticastBroadcastsRequired
public Optional<Boolean> getUnicastResponsesToMulticastBroadcastsRequired()
“Configures the firewall to allow unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.”- Returns:
- property unicastResponsesToMulticastBroadcastsRequired
-
withUnicastResponsesToMulticastBroadcastsRequired
public WindowsFirewallNetworkProfile withUnicastResponsesToMulticastBroadcastsRequired(Boolean unicastResponsesToMulticastBroadcastsRequired)
Returns an immutable copy ofthiswith just theunicastResponsesToMulticastBroadcastsRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Configures the firewall to allow unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.”
- Parameters:
unicastResponsesToMulticastBroadcastsRequired- new value ofunicastResponsesToMulticastBroadcastsRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunicastResponsesToMulticastBroadcastsRequiredfield changed
-
withUnmappedField
public WindowsFirewallNetworkProfile withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WindowsFirewallNetworkProfile.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-