Class BandwidthProfileAction


  • @Beta
    public final class BandwidthProfileAction
    extends java.lang.Object
    Represents an action to be taken by a marker/policer.
    • Method Detail

      • getAction

        public BandwidthProfileAction.Action getAction()
        Obtains the type of this bandwidth profile action object.
        Returns:
        the bandwidth profile action type
      • getDscpClass

        public DscpClass getDscpClass()
        Obtains the DSCP class corresponding to the REMARK action. If this is not a REMARK action or if another field is remarked null is returned.
        Returns:
        the DSCP class for the action; may be null
      • getIpPrecedence

        public IPPrecedence getIpPrecedence()
        Obtains the IP precedence corresponding to the REMARK action. If this is not a REMARK action or if another field is remarked null is returned.
        Returns:
        the IP precedence for the action; may be null
      • getDropPrecedence

        public java.lang.Short getDropPrecedence()
        Obtains the drop precedence corresponding to the REMARK action. If this is not a REMARK action or if another field is remarked null is returned.
        Returns:
        the drop precedence for the action; may be null
      • hashCode

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object