Class WindowsFirewallNetworkProfile

java.lang.Object
com.microsoft.graph.models.WindowsFirewallNetworkProfile
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WindowsFirewallNetworkProfile extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
Windows Firewall Profile Policies.
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • WindowsFirewallNetworkProfile

      public WindowsFirewallNetworkProfile()
      Instantiates a new WindowsFirewallNetworkProfile and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WindowsFirewallNetworkProfile createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a WindowsFirewallNetworkProfile
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAuthorizedApplicationRulesFromGroupPolicyMerged

      @Nullable public Boolean getAuthorizedApplicationRulesFromGroupPolicyMerged()
      Gets the authorizedApplicationRulesFromGroupPolicyMerged property value. 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:
      a Boolean
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getConnectionSecurityRulesFromGroupPolicyMerged

      @Nullable public Boolean getConnectionSecurityRulesFromGroupPolicyMerged()
      Gets the connectionSecurityRulesFromGroupPolicyMerged property value. 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:
      a Boolean
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFirewallEnabled

      @Nullable public StateManagementSetting getFirewallEnabled()
      Gets the firewallEnabled property value. State Management Setting.
      Returns:
      a StateManagementSetting
    • getGlobalPortRulesFromGroupPolicyMerged

      @Nullable public Boolean getGlobalPortRulesFromGroupPolicyMerged()
      Gets the globalPortRulesFromGroupPolicyMerged property value. 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:
      a Boolean
    • getInboundConnectionsBlocked

      @Nullable public Boolean getInboundConnectionsBlocked()
      Gets the inboundConnectionsBlocked property value. Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.
      Returns:
      a Boolean
    • getInboundNotificationsBlocked

      @Nullable public Boolean getInboundNotificationsBlocked()
      Gets the inboundNotificationsBlocked property value. 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:
      a Boolean
    • getIncomingTrafficBlocked

      @Nullable public Boolean getIncomingTrafficBlocked()
      Gets the incomingTrafficBlocked property value. Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority.
      Returns:
      a Boolean
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getOutboundConnectionsBlocked

      @Nullable public Boolean getOutboundConnectionsBlocked()
      Gets the outboundConnectionsBlocked property value. 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:
      a Boolean
    • getPolicyRulesFromGroupPolicyMerged

      @Nullable public Boolean getPolicyRulesFromGroupPolicyMerged()
      Gets the policyRulesFromGroupPolicyMerged property value. 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:
      a Boolean
    • getSecuredPacketExemptionAllowed

      @Nullable public Boolean getSecuredPacketExemptionAllowed()
      Gets the securedPacketExemptionAllowed property value. 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:
      a Boolean
    • getStealthModeBlocked

      @Nullable public Boolean getStealthModeBlocked()
      Gets the stealthModeBlocked property value. Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.
      Returns:
      a Boolean
    • getUnicastResponsesToMulticastBroadcastsBlocked

      @Nullable public Boolean getUnicastResponsesToMulticastBroadcastsBlocked()
      Gets the unicastResponsesToMulticastBroadcastsBlocked property value. Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.
      Returns:
      a Boolean
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setAuthorizedApplicationRulesFromGroupPolicyMerged

      public void setAuthorizedApplicationRulesFromGroupPolicyMerged(@Nullable Boolean value)
      Sets the authorizedApplicationRulesFromGroupPolicyMerged property value. 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:
      value - Value to set for the authorizedApplicationRulesFromGroupPolicyMerged property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setConnectionSecurityRulesFromGroupPolicyMerged

      public void setConnectionSecurityRulesFromGroupPolicyMerged(@Nullable Boolean value)
      Sets the connectionSecurityRulesFromGroupPolicyMerged property value. 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:
      value - Value to set for the connectionSecurityRulesFromGroupPolicyMerged property.
    • setFirewallEnabled

      public void setFirewallEnabled(@Nullable StateManagementSetting value)
      Sets the firewallEnabled property value. State Management Setting.
      Parameters:
      value - Value to set for the firewallEnabled property.
    • setGlobalPortRulesFromGroupPolicyMerged

      public void setGlobalPortRulesFromGroupPolicyMerged(@Nullable Boolean value)
      Sets the globalPortRulesFromGroupPolicyMerged property value. 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:
      value - Value to set for the globalPortRulesFromGroupPolicyMerged property.
    • setInboundConnectionsBlocked

      public void setInboundConnectionsBlocked(@Nullable Boolean value)
      Sets the inboundConnectionsBlocked property value. Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority.
      Parameters:
      value - Value to set for the inboundConnectionsBlocked property.
    • setInboundNotificationsBlocked

      public void setInboundNotificationsBlocked(@Nullable Boolean value)
      Sets the inboundNotificationsBlocked property value. 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:
      value - Value to set for the inboundNotificationsBlocked property.
    • setIncomingTrafficBlocked

      public void setIncomingTrafficBlocked(@Nullable Boolean value)
      Sets the incomingTrafficBlocked property value. Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority.
      Parameters:
      value - Value to set for the incomingTrafficBlocked property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setOutboundConnectionsBlocked

      public void setOutboundConnectionsBlocked(@Nullable Boolean value)
      Sets the outboundConnectionsBlocked property value. 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:
      value - Value to set for the outboundConnectionsBlocked property.
    • setPolicyRulesFromGroupPolicyMerged

      public void setPolicyRulesFromGroupPolicyMerged(@Nullable Boolean value)
      Sets the policyRulesFromGroupPolicyMerged property value. 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:
      value - Value to set for the policyRulesFromGroupPolicyMerged property.
    • setSecuredPacketExemptionAllowed

      public void setSecuredPacketExemptionAllowed(@Nullable Boolean value)
      Sets the securedPacketExemptionAllowed property value. 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:
      value - Value to set for the securedPacketExemptionAllowed property.
    • setStealthModeBlocked

      public void setStealthModeBlocked(@Nullable Boolean value)
      Sets the stealthModeBlocked property value. Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority.
      Parameters:
      value - Value to set for the stealthModeBlocked property.
    • setUnicastResponsesToMulticastBroadcastsBlocked

      public void setUnicastResponsesToMulticastBroadcastsBlocked(@Nullable Boolean value)
      Sets the unicastResponsesToMulticastBroadcastsBlocked property value. Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority.
      Parameters:
      value - Value to set for the unicastResponsesToMulticastBroadcastsBlocked property.