Package com.vmware.nsx_policy.model
Class SIPacketsDroppedBySecurity.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SIPacketsDroppedBySecurity.Builder
-
- Enclosing class:
- SIPacketsDroppedBySecurity
public static final class SIPacketsDroppedBySecurity.Builder extends java.lang.Object
Builder class forSIPacketsDroppedBySecurity
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSIPacketsDroppedBySecurity
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SIPacketsDroppedBySecurity
build()
SIPacketsDroppedBySecurity.Builder
setBpduFilterDropped(java.lang.Long bpduFilterDropped)
The number of packets dropped by \"BPDU filter\".SIPacketsDroppedBySecurity.Builder
setDhcpClientDroppedIpv4(java.lang.Long dhcpClientDroppedIpv4)
The number of IPv4 packets dropped by \"DHCP client block\".SIPacketsDroppedBySecurity.Builder
setDhcpClientDroppedIpv6(java.lang.Long dhcpClientDroppedIpv6)
The number of IPv6 packets dropped by \"DHCP client block\".SIPacketsDroppedBySecurity.Builder
setDhcpServerDroppedIpv4(java.lang.Long dhcpServerDroppedIpv4)
The number of IPv4 packets dropped by \"DHCP server block\".SIPacketsDroppedBySecurity.Builder
setDhcpServerDroppedIpv6(java.lang.Long dhcpServerDroppedIpv6)
The number of IPv6 packets dropped by \"DHCP server block\".SIPacketsDroppedBySecurity.Builder
setSpoofGuardDropped(java.util.List<SIPacketTypeAndCounter> 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 ofSIPacketsDroppedBySecurity
.
-
-
Method Detail
-
setBpduFilterDropped
public SIPacketsDroppedBySecurity.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 SIPacketsDroppedBySecurity.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 SIPacketsDroppedBySecurity.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 SIPacketsDroppedBySecurity.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 SIPacketsDroppedBySecurity.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 SIPacketsDroppedBySecurity.Builder setSpoofGuardDropped(java.util.List<SIPacketTypeAndCounter> 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 SIPacketsDroppedBySecurity build()
-
-