Interface GeoLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeoLocation.Builder,GeoLocation>,SdkBuilder<GeoLocation.Builder,GeoLocation>,SdkPojo
- Enclosing class:
- GeoLocation
public static interface GeoLocation.Builder extends SdkPojo, CopyableBuilder<GeoLocation.Builder,GeoLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoLocation.BuildercontinentCode(String continentCode)The two-letter code for the continent.GeoLocation.BuildercountryCode(String countryCode)For geolocation resource record sets, the two-letter code for a country.GeoLocation.BuildersubdivisionCode(String subdivisionCode)For geolocation resource record sets, the two-letter code for a state of the United States.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
continentCode
GeoLocation.Builder continentCode(String continentCode)
The two-letter code for the continent.
Amazon Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
Constraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns anInvalidInputerror.- Parameters:
continentCode- The two-letter code for the continent.Amazon Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
Constraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns anInvalidInputerror.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
countryCode
GeoLocation.Builder countryCode(String countryCode)
For geolocation resource record sets, the two-letter code for a country.
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the contry code UA forr Ukraine.
- Parameters:
countryCode- For geolocation resource record sets, the two-letter code for a country.Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the contry code UA forr Ukraine.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subdivisionCode
GeoLocation.Builder subdivisionCode(String subdivisionCode)
For geolocation resource record sets, the two-letter code for a state of the United States. Route 53 doesn't support any other values for
SubdivisionCode. For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website.If you specify
subdivisioncode, you must also specifyUSforCountryCode.- Parameters:
subdivisionCode- For geolocation resource record sets, the two-letter code for a state of the United States. Route 53 doesn't support any other values forSubdivisionCode. For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website.If you specify
subdivisioncode, you must also specifyUSforCountryCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-