public static interface GeoLocation.Builder extends CopyableBuilder<GeoLocation.Builder,GeoLocation>
Modifier and Type | Method and Description |
---|---|
GeoLocation.Builder |
continentCode(String continentCode)
The two-letter code for the continent.
|
GeoLocation.Builder |
countryCode(String countryCode)
The two-letter code for the country.
|
GeoLocation.Builder |
subdivisionCode(String subdivisionCode)
The code for the subdivision, for example, a state in the United States or a province in Canada.
|
copy
apply, build
GeoLocation.Builder continentCode(String continentCode)
The two-letter code for the continent.
Valid values: AF
| AN
| AS
| EU
| OC
|
NA
| SA
Constraint: Specifying ContinentCode
with either CountryCode
or
SubdivisionCode
returns an InvalidInput
error.
continentCode
- The two-letter code for the continent.
Valid values: AF
| AN
| AS
| EU
| OC
| NA
| SA
Constraint: Specifying ContinentCode
with either CountryCode
or
SubdivisionCode
returns an InvalidInput
error.
GeoLocation.Builder countryCode(String countryCode)
The two-letter code for the country.
countryCode
- The two-letter code for the country.GeoLocation.Builder subdivisionCode(String subdivisionCode)
The code for the subdivision, for example, a state in the United States or a province in Canada.
subdivisionCode
- The code for the subdivision, for example, a state in the United States or a province in Canada.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.