Class GeoSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.GeoSummary.Builder
-
- Enclosing class:
- GeoSummary
public static class GeoSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoSummary.Builder
adminDivCode(String adminDivCode)
The ISO 3166-2 code for this location’s first-level administrative division, either a US state or Canadian province.GeoSummary
build()
GeoSummary.Builder
cityName(String cityName)
Common English-language name for the city.GeoSummary.Builder
copy(GeoSummary model)
GeoSummary.Builder
countryCode(String countryCode)
The ISO 3166-1 alpha-2 country code.GeoSummary.Builder
countryName(String countryName)
The common English-language name for the country.GeoSummary.Builder
latitude(Double latitude)
Degrees north of the equator.GeoSummary.Builder
longitude(Double longitude)
Degrees east of the prime meridian.
-
-
-
Method Detail
-
adminDivCode
public GeoSummary.Builder adminDivCode(String adminDivCode)
The ISO 3166-2 code for this location’s first-level administrative division, either a US state or Canadian province.Only included for locations in the US or Canada. For a list of codes, see Country Codes.
- Parameters:
adminDivCode
- the value to set- Returns:
- this builder
-
cityName
public GeoSummary.Builder cityName(String cityName)
Common English-language name for the city.- Parameters:
cityName
- the value to set- Returns:
- this builder
-
countryCode
public GeoSummary.Builder countryCode(String countryCode)
The ISO 3166-1 alpha-2 country code.For a list of codes, see Country Codes.
- Parameters:
countryCode
- the value to set- Returns:
- this builder
-
countryName
public GeoSummary.Builder countryName(String countryName)
The common English-language name for the country.- Parameters:
countryName
- the value to set- Returns:
- this builder
-
latitude
public GeoSummary.Builder latitude(Double latitude)
Degrees north of the equator.- Parameters:
latitude
- the value to set- Returns:
- this builder
-
longitude
public GeoSummary.Builder longitude(Double longitude)
Degrees east of the prime meridian.- Parameters:
longitude
- the value to set- Returns:
- this builder
-
build
public GeoSummary build()
-
copy
public GeoSummary.Builder copy(GeoSummary model)
-
-