类 Admin.Builder

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

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

    • Builder

      public Builder()
  • 方法详细资料

    • countryCode

      public abstract Admin.Builder countryCode(@Nullable String countryCode)
      The 2 character ISO 3166-1 alpha-2 code that applies to a country boundary. Example: `"US"`.
      参数:
      countryCode - 2 character ISO 3166-1 alpha-2 code
    • countryCodeAlpha3

      public abstract Admin.Builder countryCodeAlpha3(@Nullable String countryCodeAlpha3)
      The 3 character ISO 3166-1 alpha-3 code that applies to a country boundary. Example: `"USA"`.
      参数:
      countryCodeAlpha3 - 3 character ISO 3166-1 alpha-3 code
    • build

      public abstract Admin build()
      Build a new Admin object.
      返回:
      a new Admin using the provided values in this builder