public static interface EndpointLocation.Builder extends SdkPojo, CopyableBuilder<EndpointLocation.Builder,EndpointLocation>
Modifier and Type | Method and Description |
---|---|
EndpointLocation.Builder |
city(String city)
The city where the endpoint is located.
|
EndpointLocation.Builder |
country(String country)
The two-letter code for the country or region of the endpoint.
|
EndpointLocation.Builder |
latitude(Double latitude)
The latitude of the endpoint location, rounded to one decimal place.
|
EndpointLocation.Builder |
longitude(Double longitude)
The longitude of the endpoint location, rounded to one decimal place.
|
EndpointLocation.Builder |
postalCode(String postalCode)
The postal code or zip code of the endpoint.
|
EndpointLocation.Builder |
region(String region)
The region of the endpoint location.
|
copy
applyMutation, build
EndpointLocation.Builder city(String city)
city
- The city where the endpoint is located.EndpointLocation.Builder country(String country)
country
- The two-letter code for the country or region of the endpoint. Specified as an ISO 3166-1 alpha-2
code, such as "US" for the United States.EndpointLocation.Builder latitude(Double latitude)
latitude
- The latitude of the endpoint location, rounded to one decimal place.EndpointLocation.Builder longitude(Double longitude)
longitude
- The longitude of the endpoint location, rounded to one decimal place.EndpointLocation.Builder postalCode(String postalCode)
postalCode
- The postal code or zip code of the endpoint.EndpointLocation.Builder region(String region)
region
- The region of the endpoint location. For example, in the United States, this corresponds to a state.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.