Package com.vmware.nsx_policy.model
Class SwitchSecurity
- java.lang.Object
-
- com.vmware.nsx_policy.model.SwitchSecurity
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class SwitchSecurity extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SwitchSecurity.Builder
Builder class forSwitchSecurity
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
-
Constructor Summary
Constructors Modifier Constructor Description SwitchSecurity()
Default constructor.protected
SwitchSecurity(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_convertTo(java.lang.Class<T> clazz)
java.lang.String
_getCanonicalName()
static java.lang.String
_getCanonicalTypeName()
Returns the canonical type name.static com.vmware.vapi.bindings.type.StructType
_getClassType()
WARNING: Internal method, subject to change in future versions.com.vmware.vapi.data.StructValue
_getDataValue()
com.vmware.vapi.data.DataValue
_getDynamicField(java.lang.String fieldName)
java.util.Set<java.lang.String>
_getDynamicFieldNames()
com.vmware.vapi.bindings.type.StructType
_getType()
boolean
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
static SwitchSecurity
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.static SwitchSecurity
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.void
_setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
protected void
_updateDataValue(com.vmware.vapi.data.StructValue structValue)
void
_validate()
boolean
equals(java.lang.Object obj)
java.lang.Long
getBpduFilterDrops()
Packets dropped by BPDU Filter.java.lang.Long
getDhcpClientBlockIpv4Drops()
IPv4 packets dropped by Client Block.java.lang.Long
getDhcpClientBlockIpv6Drops()
IPv6 packets dropped by Client Block.java.lang.Long
getDhcpClientValidateIpv4Drops()
IPv4 packets dropped by Client Validate.java.lang.Long
getDhcpServerBlockIpv4Drops()
IPv4 packets dropped by Server Block.java.lang.Long
getDhcpServerBlockIpv6Drops()
IPv6 packets dropped by Server Block.java.lang.Long
getNdParseErrors()
IPv6 ND Parse Errors.java.lang.Long
getRaGuardDrops()
Packets dropped by RA Guard.java.lang.Long
getRxBcastPkts()
Received broadcast packets.java.lang.Long
getRxMcastPkts()
Received multicast packets.java.lang.Long
getRxRateLimitBcastDrops()
Rx Broadcast packets dropped by Rate Limit.java.lang.Long
getRxRateLimitMcastDrops()
Rx Multicast packets dropped by Rate Limit.java.lang.Long
getSpoofGuardArpDrops()
ARP packets dropped by Spoof Guard.java.lang.Long
getSpoofGuardIpv4Drops()
IPv4 packets dropped by Spoof Guard.java.lang.Long
getSpoofGuardIpv6Drops()
IPv6 packets dropped by Spoof Guard.java.lang.Long
getSpoofGuardNdDrops()
ND packets dropped by Spoof Guard.java.lang.Long
getSpoofGuardNonIpDrops()
Non-IP packets dropped by Spoof Guard.java.lang.Long
getTxBcastPkts()
Sent broadcast packets format: int64java.lang.Long
getTxMcastPkts()
Sent multicast packets.java.lang.Long
getTxRateLimitBcastDrops()
Tx Broadcast packets dropped by Rate Limit.java.lang.Long
getTxRateLimitMcastDrops()
Tx Multicast packets dropped by Rate Limit.int
hashCode()
void
setBpduFilterDrops(java.lang.Long bpduFilterDrops)
Packets dropped by BPDU Filter.void
setDhcpClientBlockIpv4Drops(java.lang.Long dhcpClientBlockIpv4Drops)
IPv4 packets dropped by Client Block.void
setDhcpClientBlockIpv6Drops(java.lang.Long dhcpClientBlockIpv6Drops)
IPv6 packets dropped by Client Block.void
setDhcpClientValidateIpv4Drops(java.lang.Long dhcpClientValidateIpv4Drops)
IPv4 packets dropped by Client Validate.void
setDhcpServerBlockIpv4Drops(java.lang.Long dhcpServerBlockIpv4Drops)
IPv4 packets dropped by Server Block.void
setDhcpServerBlockIpv6Drops(java.lang.Long dhcpServerBlockIpv6Drops)
IPv6 packets dropped by Server Block.void
setNdParseErrors(java.lang.Long ndParseErrors)
IPv6 ND Parse Errors.void
setRaGuardDrops(java.lang.Long raGuardDrops)
Packets dropped by RA Guard.void
setRxBcastPkts(java.lang.Long rxBcastPkts)
Received broadcast packets.void
setRxMcastPkts(java.lang.Long rxMcastPkts)
Received multicast packets.void
setRxRateLimitBcastDrops(java.lang.Long rxRateLimitBcastDrops)
Rx Broadcast packets dropped by Rate Limit.void
setRxRateLimitMcastDrops(java.lang.Long rxRateLimitMcastDrops)
Rx Multicast packets dropped by Rate Limit.void
setSpoofGuardArpDrops(java.lang.Long spoofGuardArpDrops)
ARP packets dropped by Spoof Guard.void
setSpoofGuardIpv4Drops(java.lang.Long spoofGuardIpv4Drops)
IPv4 packets dropped by Spoof Guard.void
setSpoofGuardIpv6Drops(java.lang.Long spoofGuardIpv6Drops)
IPv6 packets dropped by Spoof Guard.void
setSpoofGuardNdDrops(java.lang.Long spoofGuardNdDrops)
ND packets dropped by Spoof Guard.void
setSpoofGuardNonIpDrops(java.lang.Long spoofGuardNonIpDrops)
Non-IP packets dropped by Spoof Guard.void
setTxBcastPkts(java.lang.Long txBcastPkts)
Sent broadcast packets format: int64void
setTxMcastPkts(java.lang.Long txMcastPkts)
Sent multicast packets.void
setTxRateLimitBcastDrops(java.lang.Long txRateLimitBcastDrops)
Tx Broadcast packets dropped by Rate Limit.void
setTxRateLimitMcastDrops(java.lang.Long txRateLimitMcastDrops)
Tx Multicast packets dropped by Rate Limit.java.lang.String
toString()
-
-
-
Method Detail
-
getBpduFilterDrops
public java.lang.Long getBpduFilterDrops()
Packets dropped by BPDU Filter. format: int64- Returns:
- The current value of the property.
-
setBpduFilterDrops
public void setBpduFilterDrops(java.lang.Long bpduFilterDrops)
Packets dropped by BPDU Filter. format: int64- Parameters:
bpduFilterDrops
- New value for the property.
-
getDhcpClientBlockIpv4Drops
public java.lang.Long getDhcpClientBlockIpv4Drops()
IPv4 packets dropped by Client Block. format: int64- Returns:
- The current value of the property.
-
setDhcpClientBlockIpv4Drops
public void setDhcpClientBlockIpv4Drops(java.lang.Long dhcpClientBlockIpv4Drops)
IPv4 packets dropped by Client Block. format: int64- Parameters:
dhcpClientBlockIpv4Drops
- New value for the property.
-
getDhcpClientBlockIpv6Drops
public java.lang.Long getDhcpClientBlockIpv6Drops()
IPv6 packets dropped by Client Block. format: int64- Returns:
- The current value of the property.
-
setDhcpClientBlockIpv6Drops
public void setDhcpClientBlockIpv6Drops(java.lang.Long dhcpClientBlockIpv6Drops)
IPv6 packets dropped by Client Block. format: int64- Parameters:
dhcpClientBlockIpv6Drops
- New value for the property.
-
getDhcpClientValidateIpv4Drops
public java.lang.Long getDhcpClientValidateIpv4Drops()
IPv4 packets dropped by Client Validate. format: int64- Returns:
- The current value of the property.
-
setDhcpClientValidateIpv4Drops
public void setDhcpClientValidateIpv4Drops(java.lang.Long dhcpClientValidateIpv4Drops)
IPv4 packets dropped by Client Validate. format: int64- Parameters:
dhcpClientValidateIpv4Drops
- New value for the property.
-
getDhcpServerBlockIpv4Drops
public java.lang.Long getDhcpServerBlockIpv4Drops()
IPv4 packets dropped by Server Block. format: int64- Returns:
- The current value of the property.
-
setDhcpServerBlockIpv4Drops
public void setDhcpServerBlockIpv4Drops(java.lang.Long dhcpServerBlockIpv4Drops)
IPv4 packets dropped by Server Block. format: int64- Parameters:
dhcpServerBlockIpv4Drops
- New value for the property.
-
getDhcpServerBlockIpv6Drops
public java.lang.Long getDhcpServerBlockIpv6Drops()
IPv6 packets dropped by Server Block. format: int64- Returns:
- The current value of the property.
-
setDhcpServerBlockIpv6Drops
public void setDhcpServerBlockIpv6Drops(java.lang.Long dhcpServerBlockIpv6Drops)
IPv6 packets dropped by Server Block. format: int64- Parameters:
dhcpServerBlockIpv6Drops
- New value for the property.
-
getNdParseErrors
public java.lang.Long getNdParseErrors()
IPv6 ND Parse Errors. format: int64- Returns:
- The current value of the property.
-
setNdParseErrors
public void setNdParseErrors(java.lang.Long ndParseErrors)
IPv6 ND Parse Errors. format: int64- Parameters:
ndParseErrors
- New value for the property.
-
getRaGuardDrops
public java.lang.Long getRaGuardDrops()
Packets dropped by RA Guard. format: int64- Returns:
- The current value of the property.
-
setRaGuardDrops
public void setRaGuardDrops(java.lang.Long raGuardDrops)
Packets dropped by RA Guard. format: int64- Parameters:
raGuardDrops
- New value for the property.
-
getRxBcastPkts
public java.lang.Long getRxBcastPkts()
Received broadcast packets. format: int64- Returns:
- The current value of the property.
-
setRxBcastPkts
public void setRxBcastPkts(java.lang.Long rxBcastPkts)
Received broadcast packets. format: int64- Parameters:
rxBcastPkts
- New value for the property.
-
getRxMcastPkts
public java.lang.Long getRxMcastPkts()
Received multicast packets. format: int64- Returns:
- The current value of the property.
-
setRxMcastPkts
public void setRxMcastPkts(java.lang.Long rxMcastPkts)
Received multicast packets. format: int64- Parameters:
rxMcastPkts
- New value for the property.
-
getRxRateLimitBcastDrops
public java.lang.Long getRxRateLimitBcastDrops()
Rx Broadcast packets dropped by Rate Limit. format: int64- Returns:
- The current value of the property.
-
setRxRateLimitBcastDrops
public void setRxRateLimitBcastDrops(java.lang.Long rxRateLimitBcastDrops)
Rx Broadcast packets dropped by Rate Limit. format: int64- Parameters:
rxRateLimitBcastDrops
- New value for the property.
-
getRxRateLimitMcastDrops
public java.lang.Long getRxRateLimitMcastDrops()
Rx Multicast packets dropped by Rate Limit. format: int64- Returns:
- The current value of the property.
-
setRxRateLimitMcastDrops
public void setRxRateLimitMcastDrops(java.lang.Long rxRateLimitMcastDrops)
Rx Multicast packets dropped by Rate Limit. format: int64- Parameters:
rxRateLimitMcastDrops
- New value for the property.
-
getSpoofGuardArpDrops
public java.lang.Long getSpoofGuardArpDrops()
ARP packets dropped by Spoof Guard. format: int64- Returns:
- The current value of the property.
-
setSpoofGuardArpDrops
public void setSpoofGuardArpDrops(java.lang.Long spoofGuardArpDrops)
ARP packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardArpDrops
- New value for the property.
-
getSpoofGuardIpv4Drops
public java.lang.Long getSpoofGuardIpv4Drops()
IPv4 packets dropped by Spoof Guard. format: int64- Returns:
- The current value of the property.
-
setSpoofGuardIpv4Drops
public void setSpoofGuardIpv4Drops(java.lang.Long spoofGuardIpv4Drops)
IPv4 packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardIpv4Drops
- New value for the property.
-
getSpoofGuardIpv6Drops
public java.lang.Long getSpoofGuardIpv6Drops()
IPv6 packets dropped by Spoof Guard. format: int64- Returns:
- The current value of the property.
-
setSpoofGuardIpv6Drops
public void setSpoofGuardIpv6Drops(java.lang.Long spoofGuardIpv6Drops)
IPv6 packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardIpv6Drops
- New value for the property.
-
getSpoofGuardNdDrops
public java.lang.Long getSpoofGuardNdDrops()
ND packets dropped by Spoof Guard. format: int64- Returns:
- The current value of the property.
-
setSpoofGuardNdDrops
public void setSpoofGuardNdDrops(java.lang.Long spoofGuardNdDrops)
ND packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardNdDrops
- New value for the property.
-
getSpoofGuardNonIpDrops
public java.lang.Long getSpoofGuardNonIpDrops()
Non-IP packets dropped by Spoof Guard. format: int64- Returns:
- The current value of the property.
-
setSpoofGuardNonIpDrops
public void setSpoofGuardNonIpDrops(java.lang.Long spoofGuardNonIpDrops)
Non-IP packets dropped by Spoof Guard. format: int64- Parameters:
spoofGuardNonIpDrops
- New value for the property.
-
getTxBcastPkts
public java.lang.Long getTxBcastPkts()
Sent broadcast packets format: int64- Returns:
- The current value of the property.
-
setTxBcastPkts
public void setTxBcastPkts(java.lang.Long txBcastPkts)
Sent broadcast packets format: int64- Parameters:
txBcastPkts
- New value for the property.
-
getTxMcastPkts
public java.lang.Long getTxMcastPkts()
Sent multicast packets. format: int64- Returns:
- The current value of the property.
-
setTxMcastPkts
public void setTxMcastPkts(java.lang.Long txMcastPkts)
Sent multicast packets. format: int64- Parameters:
txMcastPkts
- New value for the property.
-
getTxRateLimitBcastDrops
public java.lang.Long getTxRateLimitBcastDrops()
Tx Broadcast packets dropped by Rate Limit. format: int64- Returns:
- The current value of the property.
-
setTxRateLimitBcastDrops
public void setTxRateLimitBcastDrops(java.lang.Long txRateLimitBcastDrops)
Tx Broadcast packets dropped by Rate Limit. format: int64- Parameters:
txRateLimitBcastDrops
- New value for the property.
-
getTxRateLimitMcastDrops
public java.lang.Long getTxRateLimitMcastDrops()
Tx Multicast packets dropped by Rate Limit. format: int64- Returns:
- The current value of the property.
-
setTxRateLimitMcastDrops
public void setTxRateLimitMcastDrops(java.lang.Long txRateLimitMcastDrops)
Tx Multicast packets dropped by Rate Limit. format: int64- Parameters:
txRateLimitMcastDrops
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static SwitchSecurity _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue
- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static SwitchSecurity _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-