类 Admin.Builder
java.lang.Object
ai.nextbillion.kits.directions.models.Admin.Builder
- 封闭类:
- Admin
This builder can be used to set the values describing the
Admin.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract Adminbuild()Build a newAdminobject.abstract Admin.BuildercountryCode(String countryCode) The 2 character ISO 3166-1 alpha-2 code that applies to a country boundary.abstract Admin.BuildercountryCodeAlpha3(String countryCodeAlpha3) The 3 character ISO 3166-1 alpha-3 code that applies to a country boundary.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
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
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
Build a newAdminobject.- 返回:
- a new
Adminusing the provided values in this builder
-