Class 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.”
    • 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
      • connectionSecurityRulesFromGroupPolicyMerged

        protected Boolean connectionSecurityRulesFromGroupPolicyMerged
      • globalPortRulesFromGroupPolicyMerged

        protected Boolean globalPortRulesFromGroupPolicyMerged
      • inboundConnectionsBlocked

        protected Boolean inboundConnectionsBlocked
      • inboundNotificationsBlocked

        protected Boolean inboundNotificationsBlocked
      • incomingTrafficBlocked

        protected Boolean incomingTrafficBlocked
      • outboundConnectionsBlocked

        protected Boolean outboundConnectionsBlocked
      • policyRulesFromGroupPolicyMerged

        protected Boolean policyRulesFromGroupPolicyMerged
      • securedPacketExemptionAllowed

        protected Boolean securedPacketExemptionAllowed
      • stealthModeBlocked

        protected Boolean stealthModeBlocked
      • unicastResponsesToMulticastBroadcastsBlocked

        protected Boolean unicastResponsesToMulticastBroadcastsBlocked
    • Constructor Detail

      • WindowsFirewallNetworkProfile

        protected WindowsFirewallNetworkProfile()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of this with just the authorizedApplicationRulesFromGroupPolicyMerged field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of authorizedApplicationRulesFromGroupPolicyMerged field (as defined in service metadata)
        Returns:
        immutable copy of this with just the authorizedApplicationRulesFromGroupPolicyMerged field 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 of this with just the connectionSecurityRulesFromGroupPolicyMerged field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of connectionSecurityRulesFromGroupPolicyMerged field (as defined in service metadata)
        Returns:
        immutable copy of this with just the connectionSecurityRulesFromGroupPolicyMerged field 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 of this with just the firewallEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of firewallEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the firewallEnabled field 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 of this with just the globalPortRulesFromGroupPolicyMerged field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of globalPortRulesFromGroupPolicyMerged field (as defined in service metadata)
        Returns:
        immutable copy of this with just the globalPortRulesFromGroupPolicyMerged field 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 of this with just the inboundConnectionsBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of inboundConnectionsBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the inboundConnectionsBlocked field 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 of this with just the inboundNotificationsBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of inboundNotificationsBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the inboundNotificationsBlocked field 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 of this with just the incomingTrafficBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of incomingTrafficBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the incomingTrafficBlocked field 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 of this with just the outboundConnectionsBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of outboundConnectionsBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the outboundConnectionsBlocked field 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 of this with just the policyRulesFromGroupPolicyMerged field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of policyRulesFromGroupPolicyMerged field (as defined in service metadata)
        Returns:
        immutable copy of this with just the policyRulesFromGroupPolicyMerged field 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 of this with just the securedPacketExemptionAllowed field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of securedPacketExemptionAllowed field (as defined in service metadata)
        Returns:
        immutable copy of this with just the securedPacketExemptionAllowed field 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 of this with just the stealthModeBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of stealthModeBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the stealthModeBlocked field 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 of this with just the unicastResponsesToMulticastBroadcastsBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of unicastResponsesToMulticastBroadcastsBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the unicastResponsesToMulticastBroadcastsBlocked field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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