Package com.vmware.nsx_policy.model
Class SwitchSecurity.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SwitchSecurity.Builder
-
- Enclosing class:
- SwitchSecurity
public static final class SwitchSecurity.Builder extends java.lang.ObjectBuilder class forSwitchSecurity.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofSwitchSecurity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwitchSecuritybuild()SwitchSecurity.BuildersetBpduFilterDrops(java.lang.Long bpduFilterDrops)Packets dropped by BPDU Filter.SwitchSecurity.BuildersetDhcpClientBlockIpv4Drops(java.lang.Long dhcpClientBlockIpv4Drops)IPv4 packets dropped by Client Block.SwitchSecurity.BuildersetDhcpClientBlockIpv6Drops(java.lang.Long dhcpClientBlockIpv6Drops)IPv6 packets dropped by Client Block.SwitchSecurity.BuildersetDhcpClientValidateIpv4Drops(java.lang.Long dhcpClientValidateIpv4Drops)IPv4 packets dropped by Client Validate.SwitchSecurity.BuildersetDhcpServerBlockIpv4Drops(java.lang.Long dhcpServerBlockIpv4Drops)IPv4 packets dropped by Server Block.SwitchSecurity.BuildersetDhcpServerBlockIpv6Drops(java.lang.Long dhcpServerBlockIpv6Drops)IPv6 packets dropped by Server Block.SwitchSecurity.BuildersetNdParseErrors(java.lang.Long ndParseErrors)IPv6 ND Parse Errors.SwitchSecurity.BuildersetRaGuardDrops(java.lang.Long raGuardDrops)Packets dropped by RA Guard.SwitchSecurity.BuildersetRxBcastPkts(java.lang.Long rxBcastPkts)Received broadcast packets.SwitchSecurity.BuildersetRxMcastPkts(java.lang.Long rxMcastPkts)Received multicast packets.SwitchSecurity.BuildersetRxRateLimitBcastDrops(java.lang.Long rxRateLimitBcastDrops)Rx Broadcast packets dropped by Rate Limit.SwitchSecurity.BuildersetRxRateLimitMcastDrops(java.lang.Long rxRateLimitMcastDrops)Rx Multicast packets dropped by Rate Limit.SwitchSecurity.BuildersetSpoofGuardArpDrops(java.lang.Long spoofGuardArpDrops)ARP packets dropped by Spoof Guard.SwitchSecurity.BuildersetSpoofGuardIpv4Drops(java.lang.Long spoofGuardIpv4Drops)IPv4 packets dropped by Spoof Guard.SwitchSecurity.BuildersetSpoofGuardIpv6Drops(java.lang.Long spoofGuardIpv6Drops)IPv6 packets dropped by Spoof Guard.SwitchSecurity.BuildersetSpoofGuardNdDrops(java.lang.Long spoofGuardNdDrops)ND packets dropped by Spoof Guard.SwitchSecurity.BuildersetSpoofGuardNonIpDrops(java.lang.Long spoofGuardNonIpDrops)Non-IP packets dropped by Spoof Guard.SwitchSecurity.BuildersetTxBcastPkts(java.lang.Long txBcastPkts)Sent broadcast packets format: int64SwitchSecurity.BuildersetTxMcastPkts(java.lang.Long txMcastPkts)Sent multicast packets.SwitchSecurity.BuildersetTxRateLimitBcastDrops(java.lang.Long txRateLimitBcastDrops)Tx Broadcast packets dropped by Rate Limit.SwitchSecurity.BuildersetTxRateLimitMcastDrops(java.lang.Long txRateLimitMcastDrops)Tx Multicast packets dropped by Rate Limit.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSwitchSecurity.
-
-
Method Detail
-
setBpduFilterDrops
public SwitchSecurity.Builder setBpduFilterDrops(java.lang.Long bpduFilterDrops)
Packets dropped by BPDU Filter. format: int64- Parameters:
bpduFilterDrops- New value for the property.
-
setDhcpClientBlockIpv4Drops
public SwitchSecurity.Builder setDhcpClientBlockIpv4Drops(java.lang.Long dhcpClientBlockIpv4Drops)
IPv4 packets dropped by Client Block. format: int64- Parameters:
dhcpClientBlockIpv4Drops- New value for the property.
-
setDhcpClientBlockIpv6Drops
public SwitchSecurity.Builder setDhcpClientBlockIpv6Drops(java.lang.Long dhcpClientBlockIpv6Drops)
IPv6 packets dropped by Client Block. format: int64- Parameters:
dhcpClientBlockIpv6Drops- New value for the property.
-
setDhcpClientValidateIpv4Drops
public SwitchSecurity.Builder setDhcpClientValidateIpv4Drops(java.lang.Long dhcpClientValidateIpv4Drops)
IPv4 packets dropped by Client Validate. format: int64- Parameters:
dhcpClientValidateIpv4Drops- New value for the property.
-
setDhcpServerBlockIpv4Drops
public SwitchSecurity.Builder setDhcpServerBlockIpv4Drops(java.lang.Long dhcpServerBlockIpv4Drops)
IPv4 packets dropped by Server Block. format: int64- Parameters:
dhcpServerBlockIpv4Drops- New value for the property.
-
setDhcpServerBlockIpv6Drops
public SwitchSecurity.Builder setDhcpServerBlockIpv6Drops(java.lang.Long dhcpServerBlockIpv6Drops)
IPv6 packets dropped by Server Block. format: int64- Parameters:
dhcpServerBlockIpv6Drops- New value for the property.
-
setNdParseErrors
public SwitchSecurity.Builder setNdParseErrors(java.lang.Long ndParseErrors)
IPv6 ND Parse Errors. format: int64- Parameters:
ndParseErrors- New value for the property.
-
setRaGuardDrops
public SwitchSecurity.Builder setRaGuardDrops(java.lang.Long raGuardDrops)
Packets dropped by RA Guard. format: int64- Parameters:
raGuardDrops- New value for the property.
-
setRxBcastPkts
public SwitchSecurity.Builder setRxBcastPkts(java.lang.Long rxBcastPkts)
Received broadcast packets. format: int64- Parameters:
rxBcastPkts- New value for the property.
-
setRxMcastPkts
public SwitchSecurity.Builder setRxMcastPkts(java.lang.Long rxMcastPkts)
Received multicast packets. format: int64- Parameters:
rxMcastPkts- New value for the property.
-
setRxRateLimitBcastDrops
public SwitchSecurity.Builder setRxRateLimitBcastDrops(java.lang.Long rxRateLimitBcastDrops)
Rx Broadcast packets dropped by Rate Limit. format: int64- Parameters:
rxRateLimitBcastDrops- New value for the property.
-
setRxRateLimitMcastDrops
public SwitchSecurity.Builder setRxRateLimitMcastDrops(java.lang.Long rxRateLimitMcastDrops)
Rx Multicast packets dropped by Rate Limit. format: int64- Parameters:
rxRateLimitMcastDrops- New value for the property.
-
setSpoofGuardArpDrops
public SwitchSecurity.Builder setSpoofGuardArpDrops(java.lang.Long spoofGuardArpDrops)
ARP packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardArpDrops- New value for the property.
-
setSpoofGuardIpv4Drops
public SwitchSecurity.Builder setSpoofGuardIpv4Drops(java.lang.Long spoofGuardIpv4Drops)
IPv4 packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardIpv4Drops- New value for the property.
-
setSpoofGuardIpv6Drops
public SwitchSecurity.Builder setSpoofGuardIpv6Drops(java.lang.Long spoofGuardIpv6Drops)
IPv6 packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardIpv6Drops- New value for the property.
-
setSpoofGuardNdDrops
public SwitchSecurity.Builder setSpoofGuardNdDrops(java.lang.Long spoofGuardNdDrops)
ND packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardNdDrops- New value for the property.
-
setSpoofGuardNonIpDrops
public SwitchSecurity.Builder setSpoofGuardNonIpDrops(java.lang.Long spoofGuardNonIpDrops)
Non-IP packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardNonIpDrops- New value for the property.
-
setTxBcastPkts
public SwitchSecurity.Builder setTxBcastPkts(java.lang.Long txBcastPkts)
Sent broadcast packets format: int64- Parameters:
txBcastPkts- New value for the property.
-
setTxMcastPkts
public SwitchSecurity.Builder setTxMcastPkts(java.lang.Long txMcastPkts)
Sent multicast packets. format: int64- Parameters:
txMcastPkts- New value for the property.
-
setTxRateLimitBcastDrops
public SwitchSecurity.Builder setTxRateLimitBcastDrops(java.lang.Long txRateLimitBcastDrops)
Tx Broadcast packets dropped by Rate Limit. format: int64- Parameters:
txRateLimitBcastDrops- New value for the property.
-
setTxRateLimitMcastDrops
public SwitchSecurity.Builder setTxRateLimitMcastDrops(java.lang.Long txRateLimitMcastDrops)
Tx Multicast packets dropped by Rate Limit. format: int64- Parameters:
txRateLimitMcastDrops- New value for the property.
-
build
public SwitchSecurity build()
-
-