public class DistributedFirewallLayer2Response extends Object implements Serializable
Constructor and Description |
---|
DistributedFirewallLayer2Response(List<DistributedFirewallLayer2RuleResponse> rules,
Long id,
String name,
Long generationNumber,
Instant timestamp,
Boolean tcpStrict,
Boolean stateless,
Boolean useSid,
String type)
Instantiates a new distributed firewall layer 2 response.
|
Modifier and Type | Method and Description |
---|---|
Long |
getGenerationNumber()
Gets generationNumber.
|
Long |
getId()
Gets id.
|
String |
getName()
Gets name.
|
List<DistributedFirewallLayer2RuleResponse> |
getRules()
Gets rules.
|
Instant |
getTimestamp()
Gets timestamp.
|
String |
getType()
Gets type.
|
Boolean |
isStateless()
Gets stateless.
|
Boolean |
isTcpStrict()
Gets tcpStrict.
|
Boolean |
isUseSid()
Gets useSid.
|
public DistributedFirewallLayer2Response(List<DistributedFirewallLayer2RuleResponse> rules, Long id, String name, Long generationNumber, Instant timestamp, Boolean tcpStrict, Boolean stateless, Boolean useSid, String type)
rules
- the rulesid
- the idname
- the namegenerationNumber
- the generation numbertimestamp
- the timestamptcpStrict
- the tcp strictstateless
- the statelessuseSid
- the use sidtype
- the typepublic List<DistributedFirewallLayer2RuleResponse> getRules()
The list of rules on the distributed firewall
List
of DistributedFirewallLayer2RuleResponse
the rulespublic String getName()
The name of the distributed firewall
String
the namepublic Long getGenerationNumber()
Generation number for the configuration. When updating distributed firewall,the latest generation number must be included as the query parameter eTag value
Long
the generationNumberpublic Instant getTimestamp()
Timestamp of the configuration
Instant
the timestamppublic Boolean isTcpStrict()
Whether or not TCP strict is enabled on a rule. If TCP strict is enabled on a rule and a packet matches that rule, the following check will be performed. If the packet does not belong to an existing session, the kernel will check to see if the SYN flag of the packet is set. If it is not, then it will drop the packet. Default is false.
Boolean
the tcpStrictpublic Boolean isStateless()
Whether or not stateless is enabled on a rule. If stateless is enabled on a rule, traffic is monitored statically, and the state of network connections will be ignored. Default is true for L2
Boolean
the statelesspublic Boolean isUseSid()
Whether or not useSid is enabled on a rule. If useSid is enabled on a rule, the source field of the rule must be an Active Directory Security Group. Default is false
Boolean
the useSidCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.