Class GeoSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmsynthetics.model.GeoSummary.Builder
 
- 
- Enclosing class:
- GeoSummary
 
 public static class GeoSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoSummary.BuilderadminDivCode(String adminDivCode)The ISO 3166-2 code for this location’s first-level administrative division, either a US state or Canadian province.GeoSummarybuild()GeoSummary.BuildercityName(String cityName)Common English-language name for the city.GeoSummary.Buildercopy(GeoSummary model)GeoSummary.BuildercountryCode(String countryCode)The ISO 3166-1 alpha-2 country code.GeoSummary.BuildercountryName(String countryName)The common English-language name for the country.GeoSummary.Builderlatitude(Double latitude)Degrees north of the equator.GeoSummary.Builderlongitude(Double longitude)Degrees east of the prime meridian.
 
- 
- 
- 
Method Detail- 
adminDivCodepublic 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
 
 - 
cityNamepublic GeoSummary.Builder cityName(String cityName) Common English-language name for the city.- Parameters:
- cityName- the value to set
- Returns:
- this builder
 
 - 
countryCodepublic 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
 
 - 
countryNamepublic GeoSummary.Builder countryName(String countryName) The common English-language name for the country.- Parameters:
- countryName- the value to set
- Returns:
- this builder
 
 - 
latitudepublic GeoSummary.Builder latitude(Double latitude) Degrees north of the equator.- Parameters:
- latitude- the value to set
- Returns:
- this builder
 
 - 
longitudepublic GeoSummary.Builder longitude(Double longitude) Degrees east of the prime meridian.- Parameters:
- longitude- the value to set
- Returns:
- this builder
 
 - 
buildpublic GeoSummary build() 
 - 
copypublic GeoSummary.Builder copy(GeoSummary model) 
 
- 
 
-