Package com.vmware.nsx_policy.model
Class DistributedFirewall.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DistributedFirewall.Builder
-
- Enclosing class:
- DistributedFirewall
public static final class DistributedFirewall.Builder extends java.lang.Object
Builder class forDistributedFirewall
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDistributedFirewall
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedFirewall
build()
DistributedFirewall.Builder
setAlgHandlerDrops(java.lang.Long algHandlerDrops)
alg handler error.DistributedFirewall.Builder
setBadOffsetDrops(java.lang.Long badOffsetDrops)
bad-offset.DistributedFirewall.Builder
setBadTimestampDrops(java.lang.Long badTimestampDrops)
bad-timestamp.DistributedFirewall.Builder
setCongestionDrops(java.lang.Long congestionDrops)
congestion.DistributedFirewall.Builder
setFragmentDrops(java.lang.Long fragmentDrops)
fragment.DistributedFirewall.Builder
setHandshakeErrorDrops(java.lang.Long handshakeErrorDrops)
3wh error.DistributedFirewall.Builder
setIcmpErrorDrops(java.lang.Long icmpErrorDrops)
icmp error.DistributedFirewall.Builder
setIcmpErrPktDrops(java.lang.Long icmpErrPktDrops)
icmp errpkt drop.DistributedFirewall.Builder
setIcmpFloodOverlimitDrops(java.lang.Long icmpFloodOverlimitDrops)
ICMP flood overlimit.DistributedFirewall.Builder
setIgnoredOffloadedFpdrops(java.lang.Long ignoredOffloadedFpdrops)
Ignored offloaded FP.DistributedFirewall.Builder
setIgnoredOffloadedSpdrops(java.lang.Long ignoredOffloadedSpdrops)
Ignored offloaded SP.DistributedFirewall.Builder
setIpOptionDrops(java.lang.Long ipOptionDrops)
ip-option.DistributedFirewall.Builder
setL7AlertDrops(java.lang.Long l7AlertDrops)
L7 alert.DistributedFirewall.Builder
setL7AttrErrorDrops(java.lang.Long l7AttrErrorDrops)
L7 attr error.DistributedFirewall.Builder
setL7PendingMisc(java.lang.Long l7PendingMisc)
L7 pending.DistributedFirewall.Builder
setLbRejectDrops(java.lang.Long lbRejectDrops)
LB Reject.DistributedFirewall.Builder
setMatchDropRuleRxDrops(java.lang.Long matchDropRuleRxDrops)
Rx pkts dropped by hitting drop/reject rule.DistributedFirewall.Builder
setMatchDropRuleTxDrops(java.lang.Long matchDropRuleTxDrops)
Tx pkts dropped by hitting drop/reject rule.DistributedFirewall.Builder
setMemoryDrops(java.lang.Long memoryDrops)
memory.DistributedFirewall.Builder
setNormalizeDrops(java.lang.Long normalizeDrops)
normalize.DistributedFirewall.Builder
setOtherFloodOverlimitDrops(java.lang.Long otherFloodOverlimitDrops)
OTHER flood overlimit.DistributedFirewall.Builder
setPktsFragQueuedV4Misc(java.lang.Long pktsFragQueuedV4Misc)
pkts-frag-queued-v4.DistributedFirewall.Builder
setPktsFragQueuedV6Misc(java.lang.Long pktsFragQueuedV6Misc)
pkts-frag-queued-v6.DistributedFirewall.Builder
setProtoCksumDrops(java.lang.Long protoCksumDrops)
proto-cksum.DistributedFirewall.Builder
setRxIpv4DropPkts(java.lang.Long rxIpv4DropPkts)
Received IPv4 drop packets.DistributedFirewall.Builder
setRxIpv4RejectPkts(java.lang.Long rxIpv4RejectPkts)
Received IPv4 reject packets.DistributedFirewall.Builder
setRxIpv6DropPkts(java.lang.Long rxIpv6DropPkts)
Received IPv6 drop packets.DistributedFirewall.Builder
setRxIpv6RejectPkts(java.lang.Long rxIpv6RejectPkts)
Received IPv6 reject packets.DistributedFirewall.Builder
setRxL2DropPkts(java.lang.Long rxL2DropPkts)
Received layer 2 drop packets.DistributedFirewall.Builder
setSeqnoBadAckDrops(java.lang.Long seqnoBadAckDrops)
seqno bad ack.DistributedFirewall.Builder
setSeqnoGtMaxAckDrops(java.lang.Long seqnoGtMaxAckDrops)
seqno gt maxack.DistributedFirewall.Builder
setSeqnoLtMinackDrops(java.lang.Long seqnoLtMinackDrops)
seqno lt minack.DistributedFirewall.Builder
setSeqnoOldAckDrops(java.lang.Long seqnoOldAckDrops)
seqno old ack.DistributedFirewall.Builder
setSeqnoOldRetransDrops(java.lang.Long seqnoOldRetransDrops)
seqno old retrans.DistributedFirewall.Builder
setSeqnoOutsideWindowDrops(java.lang.Long seqnoOutsideWindowDrops)
seqno outside window.DistributedFirewall.Builder
setShortDrops(java.lang.Long shortDrops)
short.DistributedFirewall.Builder
setSpoofGuardDrops(java.lang.Long spoofGuardDrops)
spoofguard.DistributedFirewall.Builder
setSrcLimitMisc(java.lang.Long srcLimitMisc)
src-limit.DistributedFirewall.Builder
setStateInsertDrops(java.lang.Long stateInsertDrops)
state-insert.DistributedFirewall.Builder
setStateLimitDrops(java.lang.Long stateLimitDrops)
state-limit.DistributedFirewall.Builder
setStateMismatchDrops(java.lang.Long stateMismatchDrops)
state-mismatch.DistributedFirewall.Builder
setStrictNoSynDrops(java.lang.Long strictNoSynDrops)
strict no syn.DistributedFirewall.Builder
setSynExpectedDrops(java.lang.Long synExpectedDrops)
SYN Expected.DistributedFirewall.Builder
setSynProxyDrops(java.lang.Long synProxyDrops)
synproxy.DistributedFirewall.Builder
setTcpFloodOverlimitDrops(java.lang.Long tcpFloodOverlimitDrops)
TCP flood overlimit.DistributedFirewall.Builder
setTxIpv4DropPkts(java.lang.Long txIpv4DropPkts)
Sent IPv4 drop packets.DistributedFirewall.Builder
setTxIpv4RejectPkts(java.lang.Long txIpv4RejectPkts)
Sent IPv4 reject packets.DistributedFirewall.Builder
setTxIpv6DropPkts(java.lang.Long txIpv6DropPkts)
Sent IPv6 drop packets.DistributedFirewall.Builder
setTxIpv6RejectPkts(java.lang.Long txIpv6RejectPkts)
Sent IPv6 reject packets.DistributedFirewall.Builder
setTxL2DropPkts(java.lang.Long txL2DropPkts)
Sent layer 2 drop packets.DistributedFirewall.Builder
setUdpFloodOverlimitDrops(java.lang.Long udpFloodOverlimitDrops)
UDP flood overlimit.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDistributedFirewall
.
-
-
Method Detail
-
setAlgHandlerDrops
public DistributedFirewall.Builder setAlgHandlerDrops(java.lang.Long algHandlerDrops)
alg handler error. format: int64- Parameters:
algHandlerDrops
- New value for the property.
-
setBadOffsetDrops
public DistributedFirewall.Builder setBadOffsetDrops(java.lang.Long badOffsetDrops)
bad-offset. format: int64- Parameters:
badOffsetDrops
- New value for the property.
-
setBadTimestampDrops
public DistributedFirewall.Builder setBadTimestampDrops(java.lang.Long badTimestampDrops)
bad-timestamp. format: int64- Parameters:
badTimestampDrops
- New value for the property.
-
setCongestionDrops
public DistributedFirewall.Builder setCongestionDrops(java.lang.Long congestionDrops)
congestion. format: int64- Parameters:
congestionDrops
- New value for the property.
-
setFragmentDrops
public DistributedFirewall.Builder setFragmentDrops(java.lang.Long fragmentDrops)
fragment. format: int64- Parameters:
fragmentDrops
- New value for the property.
-
setHandshakeErrorDrops
public DistributedFirewall.Builder setHandshakeErrorDrops(java.lang.Long handshakeErrorDrops)
3wh error. format: int64- Parameters:
handshakeErrorDrops
- New value for the property.
-
setIcmpErrPktDrops
public DistributedFirewall.Builder setIcmpErrPktDrops(java.lang.Long icmpErrPktDrops)
icmp errpkt drop. format: int64- Parameters:
icmpErrPktDrops
- New value for the property.
-
setIcmpErrorDrops
public DistributedFirewall.Builder setIcmpErrorDrops(java.lang.Long icmpErrorDrops)
icmp error. format: int64- Parameters:
icmpErrorDrops
- New value for the property.
-
setIcmpFloodOverlimitDrops
public DistributedFirewall.Builder setIcmpFloodOverlimitDrops(java.lang.Long icmpFloodOverlimitDrops)
ICMP flood overlimit. format: int64- Parameters:
icmpFloodOverlimitDrops
- New value for the property.
-
setIgnoredOffloadedFpdrops
public DistributedFirewall.Builder setIgnoredOffloadedFpdrops(java.lang.Long ignoredOffloadedFpdrops)
Ignored offloaded FP. format: int64- Parameters:
ignoredOffloadedFpdrops
- New value for the property.
-
setIgnoredOffloadedSpdrops
public DistributedFirewall.Builder setIgnoredOffloadedSpdrops(java.lang.Long ignoredOffloadedSpdrops)
Ignored offloaded SP. format: int64- Parameters:
ignoredOffloadedSpdrops
- New value for the property.
-
setIpOptionDrops
public DistributedFirewall.Builder setIpOptionDrops(java.lang.Long ipOptionDrops)
ip-option. format: int64- Parameters:
ipOptionDrops
- New value for the property.
-
setL7AlertDrops
public DistributedFirewall.Builder setL7AlertDrops(java.lang.Long l7AlertDrops)
L7 alert. format: int64- Parameters:
l7AlertDrops
- New value for the property.
-
setL7AttrErrorDrops
public DistributedFirewall.Builder setL7AttrErrorDrops(java.lang.Long l7AttrErrorDrops)
L7 attr error. format: int64- Parameters:
l7AttrErrorDrops
- New value for the property.
-
setL7PendingMisc
public DistributedFirewall.Builder setL7PendingMisc(java.lang.Long l7PendingMisc)
L7 pending. format: int64- Parameters:
l7PendingMisc
- New value for the property.
-
setLbRejectDrops
public DistributedFirewall.Builder setLbRejectDrops(java.lang.Long lbRejectDrops)
LB Reject. format: int64- Parameters:
lbRejectDrops
- New value for the property.
-
setMatchDropRuleRxDrops
public DistributedFirewall.Builder setMatchDropRuleRxDrops(java.lang.Long matchDropRuleRxDrops)
Rx pkts dropped by hitting drop/reject rule. format: int64- Parameters:
matchDropRuleRxDrops
- New value for the property.
-
setMatchDropRuleTxDrops
public DistributedFirewall.Builder setMatchDropRuleTxDrops(java.lang.Long matchDropRuleTxDrops)
Tx pkts dropped by hitting drop/reject rule. format: int64- Parameters:
matchDropRuleTxDrops
- New value for the property.
-
setMemoryDrops
public DistributedFirewall.Builder setMemoryDrops(java.lang.Long memoryDrops)
memory. format: int64- Parameters:
memoryDrops
- New value for the property.
-
setNormalizeDrops
public DistributedFirewall.Builder setNormalizeDrops(java.lang.Long normalizeDrops)
normalize. format: int64- Parameters:
normalizeDrops
- New value for the property.
-
setOtherFloodOverlimitDrops
public DistributedFirewall.Builder setOtherFloodOverlimitDrops(java.lang.Long otherFloodOverlimitDrops)
OTHER flood overlimit. format: int64- Parameters:
otherFloodOverlimitDrops
- New value for the property.
-
setPktsFragQueuedV4Misc
public DistributedFirewall.Builder setPktsFragQueuedV4Misc(java.lang.Long pktsFragQueuedV4Misc)
pkts-frag-queued-v4. format: int64- Parameters:
pktsFragQueuedV4Misc
- New value for the property.
-
setPktsFragQueuedV6Misc
public DistributedFirewall.Builder setPktsFragQueuedV6Misc(java.lang.Long pktsFragQueuedV6Misc)
pkts-frag-queued-v6. format: int64- Parameters:
pktsFragQueuedV6Misc
- New value for the property.
-
setProtoCksumDrops
public DistributedFirewall.Builder setProtoCksumDrops(java.lang.Long protoCksumDrops)
proto-cksum. format: int64- Parameters:
protoCksumDrops
- New value for the property.
-
setRxIpv4DropPkts
public DistributedFirewall.Builder setRxIpv4DropPkts(java.lang.Long rxIpv4DropPkts)
Received IPv4 drop packets. format: int64- Parameters:
rxIpv4DropPkts
- New value for the property.
-
setRxIpv4RejectPkts
public DistributedFirewall.Builder setRxIpv4RejectPkts(java.lang.Long rxIpv4RejectPkts)
Received IPv4 reject packets. format: int64- Parameters:
rxIpv4RejectPkts
- New value for the property.
-
setRxIpv6DropPkts
public DistributedFirewall.Builder setRxIpv6DropPkts(java.lang.Long rxIpv6DropPkts)
Received IPv6 drop packets. format: int64- Parameters:
rxIpv6DropPkts
- New value for the property.
-
setRxIpv6RejectPkts
public DistributedFirewall.Builder setRxIpv6RejectPkts(java.lang.Long rxIpv6RejectPkts)
Received IPv6 reject packets. format: int64- Parameters:
rxIpv6RejectPkts
- New value for the property.
-
setRxL2DropPkts
public DistributedFirewall.Builder setRxL2DropPkts(java.lang.Long rxL2DropPkts)
Received layer 2 drop packets. format: int64- Parameters:
rxL2DropPkts
- New value for the property.
-
setSeqnoBadAckDrops
public DistributedFirewall.Builder setSeqnoBadAckDrops(java.lang.Long seqnoBadAckDrops)
seqno bad ack. format: int64- Parameters:
seqnoBadAckDrops
- New value for the property.
-
setSeqnoGtMaxAckDrops
public DistributedFirewall.Builder setSeqnoGtMaxAckDrops(java.lang.Long seqnoGtMaxAckDrops)
seqno gt maxack. format: int64- Parameters:
seqnoGtMaxAckDrops
- New value for the property.
-
setSeqnoLtMinackDrops
public DistributedFirewall.Builder setSeqnoLtMinackDrops(java.lang.Long seqnoLtMinackDrops)
seqno lt minack. format: int64- Parameters:
seqnoLtMinackDrops
- New value for the property.
-
setSeqnoOldAckDrops
public DistributedFirewall.Builder setSeqnoOldAckDrops(java.lang.Long seqnoOldAckDrops)
seqno old ack. format: int64- Parameters:
seqnoOldAckDrops
- New value for the property.
-
setSeqnoOldRetransDrops
public DistributedFirewall.Builder setSeqnoOldRetransDrops(java.lang.Long seqnoOldRetransDrops)
seqno old retrans. format: int64- Parameters:
seqnoOldRetransDrops
- New value for the property.
-
setSeqnoOutsideWindowDrops
public DistributedFirewall.Builder setSeqnoOutsideWindowDrops(java.lang.Long seqnoOutsideWindowDrops)
seqno outside window. format: int64- Parameters:
seqnoOutsideWindowDrops
- New value for the property.
-
setShortDrops
public DistributedFirewall.Builder setShortDrops(java.lang.Long shortDrops)
short. format: int64- Parameters:
shortDrops
- New value for the property.
-
setSpoofGuardDrops
public DistributedFirewall.Builder setSpoofGuardDrops(java.lang.Long spoofGuardDrops)
spoofguard. format: int64- Parameters:
spoofGuardDrops
- New value for the property.
-
setSrcLimitMisc
public DistributedFirewall.Builder setSrcLimitMisc(java.lang.Long srcLimitMisc)
src-limit. format: int64- Parameters:
srcLimitMisc
- New value for the property.
-
setStateInsertDrops
public DistributedFirewall.Builder setStateInsertDrops(java.lang.Long stateInsertDrops)
state-insert. format: int64- Parameters:
stateInsertDrops
- New value for the property.
-
setStateLimitDrops
public DistributedFirewall.Builder setStateLimitDrops(java.lang.Long stateLimitDrops)
state-limit. format: int64- Parameters:
stateLimitDrops
- New value for the property.
-
setStateMismatchDrops
public DistributedFirewall.Builder setStateMismatchDrops(java.lang.Long stateMismatchDrops)
state-mismatch. format: int64- Parameters:
stateMismatchDrops
- New value for the property.
-
setStrictNoSynDrops
public DistributedFirewall.Builder setStrictNoSynDrops(java.lang.Long strictNoSynDrops)
strict no syn. format: int64- Parameters:
strictNoSynDrops
- New value for the property.
-
setSynExpectedDrops
public DistributedFirewall.Builder setSynExpectedDrops(java.lang.Long synExpectedDrops)
SYN Expected. format: int64- Parameters:
synExpectedDrops
- New value for the property.
-
setSynProxyDrops
public DistributedFirewall.Builder setSynProxyDrops(java.lang.Long synProxyDrops)
synproxy. format: int64- Parameters:
synProxyDrops
- New value for the property.
-
setTcpFloodOverlimitDrops
public DistributedFirewall.Builder setTcpFloodOverlimitDrops(java.lang.Long tcpFloodOverlimitDrops)
TCP flood overlimit. format: int64- Parameters:
tcpFloodOverlimitDrops
- New value for the property.
-
setTxIpv4DropPkts
public DistributedFirewall.Builder setTxIpv4DropPkts(java.lang.Long txIpv4DropPkts)
Sent IPv4 drop packets. format: int64- Parameters:
txIpv4DropPkts
- New value for the property.
-
setTxIpv4RejectPkts
public DistributedFirewall.Builder setTxIpv4RejectPkts(java.lang.Long txIpv4RejectPkts)
Sent IPv4 reject packets. format: int64- Parameters:
txIpv4RejectPkts
- New value for the property.
-
setTxIpv6DropPkts
public DistributedFirewall.Builder setTxIpv6DropPkts(java.lang.Long txIpv6DropPkts)
Sent IPv6 drop packets. format: int64- Parameters:
txIpv6DropPkts
- New value for the property.
-
setTxIpv6RejectPkts
public DistributedFirewall.Builder setTxIpv6RejectPkts(java.lang.Long txIpv6RejectPkts)
Sent IPv6 reject packets. format: int64- Parameters:
txIpv6RejectPkts
- New value for the property.
-
setTxL2DropPkts
public DistributedFirewall.Builder setTxL2DropPkts(java.lang.Long txL2DropPkts)
Sent layer 2 drop packets. format: int64- Parameters:
txL2DropPkts
- New value for the property.
-
setUdpFloodOverlimitDrops
public DistributedFirewall.Builder setUdpFloodOverlimitDrops(java.lang.Long udpFloodOverlimitDrops)
UDP flood overlimit. format: int64- Parameters:
udpFloodOverlimitDrops
- New value for the property.
-
build
public DistributedFirewall build()
-
-