Class RAConfig.Builder

  • Enclosing class:
    RAConfig

    public static final class RAConfig.Builder
    extends java.lang.Object
    Builder class for RAConfig.
    • Constructor Detail

      • Builder

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

      • setHopLimit

        public RAConfig.Builder setHopLimit​(java.lang.Long hopLimit)
        The maximum number of hops through which packets can pass before being discarded. format: int64
        Parameters:
        hopLimit - New value for the property.
      • setPrefixLifetime

        public RAConfig.Builder setPrefixLifetime​(java.lang.Long prefixLifetime)
        The time interval in seconds, in which the prefix is advertised as valid. format: int64
        Parameters:
        prefixLifetime - New value for the property.
      • setPrefixPreferredTime

        public RAConfig.Builder setPrefixPreferredTime​(java.lang.Long prefixPreferredTime)
        The time interval in seconds, in which the prefix is advertised as preferred. format: int64
        Parameters:
        prefixPreferredTime - New value for the property.
      • setRaInterval

        public RAConfig.Builder setRaInterval​(java.lang.Long raInterval)
        Interval between 2 Router advertisement in seconds. format: int64
        Parameters:
        raInterval - New value for the property.
      • setRouterLifetime

        public RAConfig.Builder setRouterLifetime​(java.lang.Long routerLifetime)
        Router lifetime value in seconds. A value of 0 indicates the router is not a default router for the receiving end. Any other value in this field specifies the lifetime, in seconds, associated with this router as a default router. format: int64
        Parameters:
        routerLifetime - New value for the property.