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 classSwitchSecurity.BuilderBuilder 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.protectedSwitchSecurity(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()booleanequals(java.lang.Object obj)java.lang.LonggetBpduFilterDrops()Packets dropped by BPDU Filter.java.lang.LonggetDhcpClientBlockIpv4Drops()IPv4 packets dropped by Client Block.java.lang.LonggetDhcpClientBlockIpv6Drops()IPv6 packets dropped by Client Block.java.lang.LonggetDhcpClientValidateIpv4Drops()IPv4 packets dropped by Client Validate.java.lang.LonggetDhcpServerBlockIpv4Drops()IPv4 packets dropped by Server Block.java.lang.LonggetDhcpServerBlockIpv6Drops()IPv6 packets dropped by Server Block.java.lang.LonggetNdParseErrors()IPv6 ND Parse Errors.java.lang.LonggetRaGuardDrops()Packets dropped by RA Guard.java.lang.LonggetRxBcastPkts()Received broadcast packets.java.lang.LonggetRxMcastPkts()Received multicast packets.java.lang.LonggetRxRateLimitBcastDrops()Rx Broadcast packets dropped by Rate Limit.java.lang.LonggetRxRateLimitMcastDrops()Rx Multicast packets dropped by Rate Limit.java.lang.LonggetSpoofGuardArpDrops()ARP packets dropped by Spoof Guard.java.lang.LonggetSpoofGuardIpv4Drops()IPv4 packets dropped by Spoof Guard.java.lang.LonggetSpoofGuardIpv6Drops()IPv6 packets dropped by Spoof Guard.java.lang.LonggetSpoofGuardNdDrops()ND packets dropped by Spoof Guard.java.lang.LonggetSpoofGuardNonIpDrops()Non-IP packets dropped by Spoof Guard.java.lang.LonggetTxBcastPkts()Sent broadcast packets format: int64java.lang.LonggetTxMcastPkts()Sent multicast packets.java.lang.LonggetTxRateLimitBcastDrops()Tx Broadcast packets dropped by Rate Limit.java.lang.LonggetTxRateLimitMcastDrops()Tx Multicast packets dropped by Rate Limit.inthashCode()voidsetBpduFilterDrops(java.lang.Long bpduFilterDrops)Packets dropped by BPDU Filter.voidsetDhcpClientBlockIpv4Drops(java.lang.Long dhcpClientBlockIpv4Drops)IPv4 packets dropped by Client Block.voidsetDhcpClientBlockIpv6Drops(java.lang.Long dhcpClientBlockIpv6Drops)IPv6 packets dropped by Client Block.voidsetDhcpClientValidateIpv4Drops(java.lang.Long dhcpClientValidateIpv4Drops)IPv4 packets dropped by Client Validate.voidsetDhcpServerBlockIpv4Drops(java.lang.Long dhcpServerBlockIpv4Drops)IPv4 packets dropped by Server Block.voidsetDhcpServerBlockIpv6Drops(java.lang.Long dhcpServerBlockIpv6Drops)IPv6 packets dropped by Server Block.voidsetNdParseErrors(java.lang.Long ndParseErrors)IPv6 ND Parse Errors.voidsetRaGuardDrops(java.lang.Long raGuardDrops)Packets dropped by RA Guard.voidsetRxBcastPkts(java.lang.Long rxBcastPkts)Received broadcast packets.voidsetRxMcastPkts(java.lang.Long rxMcastPkts)Received multicast packets.voidsetRxRateLimitBcastDrops(java.lang.Long rxRateLimitBcastDrops)Rx Broadcast packets dropped by Rate Limit.voidsetRxRateLimitMcastDrops(java.lang.Long rxRateLimitMcastDrops)Rx Multicast packets dropped by Rate Limit.voidsetSpoofGuardArpDrops(java.lang.Long spoofGuardArpDrops)ARP packets dropped by Spoof Guard.voidsetSpoofGuardIpv4Drops(java.lang.Long spoofGuardIpv4Drops)IPv4 packets dropped by Spoof Guard.voidsetSpoofGuardIpv6Drops(java.lang.Long spoofGuardIpv6Drops)IPv6 packets dropped by Spoof Guard.voidsetSpoofGuardNdDrops(java.lang.Long spoofGuardNdDrops)ND packets dropped by Spoof Guard.voidsetSpoofGuardNonIpDrops(java.lang.Long spoofGuardNonIpDrops)Non-IP packets dropped by Spoof Guard.voidsetTxBcastPkts(java.lang.Long txBcastPkts)Sent broadcast packets format: int64voidsetTxMcastPkts(java.lang.Long txMcastPkts)Sent multicast packets.voidsetTxRateLimitBcastDrops(java.lang.Long txRateLimitBcastDrops)Tx Broadcast packets dropped by Rate Limit.voidsetTxRateLimitMcastDrops(java.lang.Long txRateLimitMcastDrops)Tx Multicast packets dropped by Rate Limit.java.lang.StringtoString()
-
-
-
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:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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.
-
-