Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStore
Stores model information. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newWindowsFirewallNetworkProfile
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the authorizedApplicationRulesFromGroupPolicyMerged property value.com.microsoft.kiota.store.BackingStore
Gets the backingStore property value.Gets the connectionSecurityRulesFromGroupPolicyMerged property value.The deserialization information for the current modelGets the firewallEnabled property value.Gets the globalPortRulesFromGroupPolicyMerged property value.Gets the inboundConnectionsBlocked property value.Gets the inboundNotificationsBlocked property value.Gets the incomingTrafficBlocked property value.Gets the @odata.type property value.Gets the outboundConnectionsBlocked property value.Gets the policyRulesFromGroupPolicyMerged property value.Gets the securedPacketExemptionAllowed property value.Gets the stealthModeBlocked property value.Gets the unicastResponsesToMulticastBroadcastsBlocked property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAdditionalData
(Map<String, Object> value) Sets the AdditionalData property value.void
Sets the authorizedApplicationRulesFromGroupPolicyMerged property value.void
setBackingStore
(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.void
Sets the connectionSecurityRulesFromGroupPolicyMerged property value.void
Sets the firewallEnabled property value.void
Sets the globalPortRulesFromGroupPolicyMerged property value.void
Sets the inboundConnectionsBlocked property value.void
Sets the inboundNotificationsBlocked property value.void
setIncomingTrafficBlocked
(Boolean value) Sets the incomingTrafficBlocked property value.void
setOdataType
(String value) Sets the @odata.type property value.void
Sets the outboundConnectionsBlocked property value.void
Sets the policyRulesFromGroupPolicyMerged property value.void
Sets the securedPacketExemptionAllowed property value.void
setStealthModeBlocked
(Boolean value) Sets the stealthModeBlocked property value.void
Sets the unicastResponsesToMulticastBroadcastsBlocked property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
WindowsFirewallNetworkProfile
public WindowsFirewallNetworkProfile()Instantiates a newWindowsFirewallNetworkProfile
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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
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 interfacecom.microsoft.kiota.store.BackedModel
- Returns:
- a
BackingStore
-
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 -
getFirewallEnabled
Gets the firewallEnabled property value. State Management Setting.- Returns:
- a
StateManagementSetting
-
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
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
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
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
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
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
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
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
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAdditionalData
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
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
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
Sets the firewallEnabled property value. State Management Setting.- Parameters:
value
- Value to set for the firewallEnabled property.
-
setGlobalPortRulesFromGroupPolicyMerged
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
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
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
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
Sets the @odata.type property value. The OdataType property- Parameters:
value
- Value to set for the @odata.type property.
-
setOutboundConnectionsBlocked
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
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
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
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
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.
-