Class 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
    • Field Detail

      • __dynamicStructureFields

        protected com.vmware.vapi.data.StructValue __dynamicStructureFields
    • Constructor Detail

      • SwitchSecurity

        public SwitchSecurity()
        Default constructor.
      • SwitchSecurity

        protected SwitchSecurity​(com.vmware.vapi.data.StructValue __dynamicStructureFields)
    • 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 interface com.vmware.vapi.bindings.StaticStructure
      • _getDataValue

        public com.vmware.vapi.data.StructValue _getDataValue()
        Specified by:
        _getDataValue in interface com.vmware.vapi.bindings.Structure
      • _updateDataValue

        protected void _updateDataValue​(com.vmware.vapi.data.StructValue structValue)
      • _validate

        public void _validate()
        Specified by:
        _validate in interface com.vmware.vapi.bindings.StaticStructure
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.vmware.vapi.bindings.StaticStructure
        Overrides:
        toString in class java.lang.Object
      • _hasTypeNameOf

        public boolean _hasTypeNameOf​(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
        Specified by:
        _hasTypeNameOf in interface com.vmware.vapi.bindings.Structure
      • _convertTo

        public <T extends com.vmware.vapi.bindings.Structure> T _convertTo​(java.lang.Class<T> clazz)
        Specified by:
        _convertTo in interface com.vmware.vapi.bindings.Structure
      • _setDynamicField

        public void _setDynamicField​(java.lang.String fieldName,
                                     com.vmware.vapi.data.DataValue fieldValue)
        Specified by:
        _setDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicField

        public com.vmware.vapi.data.DataValue _getDynamicField​(java.lang.String fieldName)
        Specified by:
        _getDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicFieldNames

        public java.util.Set<java.lang.String> _getDynamicFieldNames()
        Specified by:
        _getDynamicFieldNames in interface com.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 this Structure.
      • _getCanonicalName

        public java.lang.String _getCanonicalName()
        Specified by:
        _getCanonicalName in interface com.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.