Class DscpValue.Builder

  • Enclosing class:
    DscpValue

    public static final class DscpValue.Builder
    extends java.lang.Object
    Builder class for DscpValue.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of DscpValue.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DscpValue build()  
      DscpValue.Builder setDscpValue​(java.lang.Long dscpValue)
      A DSCP value is allocated to indicate the existence of INT header.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of DscpValue.
    • Method Detail

      • setDscpValue

        public DscpValue.Builder setDscpValue​(java.lang.Long dscpValue)
        A DSCP value is allocated to indicate the existence of INT header. It takes effects only when the INT indicator mode is DSCP_VALUE. The user should guarantee that the given DSCP value is specifically allocated for INT. format: int32
        Parameters:
        dscpValue - New value for the property.