类 Congestion.Builder

java.lang.Object
ai.nextbillion.kits.directions.models.Congestion.Builder
封闭类:
Congestion

public abstract static class Congestion.Builder extends Object
This builder can be used to set the values describing the Congestion.
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • value

      public abstract Congestion.Builder value(int value)
      Quantitative descriptor of congestion. 0 to 100.
      参数:
      value - 0 to 100
    • build

      public abstract Congestion build()
      Build a new instance of Congestion.
      返回:
      a new instance of Congestion.