Package com.vmware.nsx_policy.model
Class PacketsDroppedBySecurity.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PacketsDroppedBySecurity.Builder
-
- Enclosing class:
- PacketsDroppedBySecurity
public static final class PacketsDroppedBySecurity.Builder extends java.lang.Object
Builder class forPacketsDroppedBySecurity
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPacketsDroppedBySecurity
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketsDroppedBySecurity
build()
PacketsDroppedBySecurity.Builder
setBpduFilterDropped(java.lang.Long bpduFilterDropped)
The number of packets dropped by \"BPDU filter\".PacketsDroppedBySecurity.Builder
setDhcpClientDroppedIpv4(java.lang.Long dhcpClientDroppedIpv4)
The number of IPv4 packets dropped by \"DHCP client block\".PacketsDroppedBySecurity.Builder
setDhcpClientDroppedIpv6(java.lang.Long dhcpClientDroppedIpv6)
The number of IPv6 packets dropped by \"DHCP client block\".PacketsDroppedBySecurity.Builder
setDhcpServerDroppedIpv4(java.lang.Long dhcpServerDroppedIpv4)
The number of IPv4 packets dropped by \"DHCP server block\".PacketsDroppedBySecurity.Builder
setDhcpServerDroppedIpv6(java.lang.Long dhcpServerDroppedIpv6)
The number of IPv6 packets dropped by \"DHCP server block\".PacketsDroppedBySecurity.Builder
setSpoofGuardDropped(java.util.List<PacketTypeAndCounter> spoofGuardDropped)
The packets dropped by \"Spoof Guard\"; supported packet types are IPv4, IPv6, ARP, ND, non-IP.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPacketsDroppedBySecurity
.
-
-
Method Detail
-
setBpduFilterDropped
public PacketsDroppedBySecurity.Builder setBpduFilterDropped(java.lang.Long bpduFilterDropped)
The number of packets dropped by \"BPDU filter\". format: int64- Parameters:
bpduFilterDropped
- New value for the property.
-
setDhcpClientDroppedIpv4
public PacketsDroppedBySecurity.Builder setDhcpClientDroppedIpv4(java.lang.Long dhcpClientDroppedIpv4)
The number of IPv4 packets dropped by \"DHCP client block\". format: int64- Parameters:
dhcpClientDroppedIpv4
- New value for the property.
-
setDhcpClientDroppedIpv6
public PacketsDroppedBySecurity.Builder setDhcpClientDroppedIpv6(java.lang.Long dhcpClientDroppedIpv6)
The number of IPv6 packets dropped by \"DHCP client block\". format: int64- Parameters:
dhcpClientDroppedIpv6
- New value for the property.
-
setDhcpServerDroppedIpv4
public PacketsDroppedBySecurity.Builder setDhcpServerDroppedIpv4(java.lang.Long dhcpServerDroppedIpv4)
The number of IPv4 packets dropped by \"DHCP server block\". format: int64- Parameters:
dhcpServerDroppedIpv4
- New value for the property.
-
setDhcpServerDroppedIpv6
public PacketsDroppedBySecurity.Builder setDhcpServerDroppedIpv6(java.lang.Long dhcpServerDroppedIpv6)
The number of IPv6 packets dropped by \"DHCP server block\". format: int64- Parameters:
dhcpServerDroppedIpv6
- New value for the property.
-
setSpoofGuardDropped
public PacketsDroppedBySecurity.Builder setSpoofGuardDropped(java.util.List<PacketTypeAndCounter> spoofGuardDropped)
The packets dropped by \"Spoof Guard\"; supported packet types are IPv4, IPv6, ARP, ND, non-IP.- Parameters:
spoofGuardDropped
- New value for the property.
-
build
public PacketsDroppedBySecurity build()
-
-