CopyableBuilder<EndpointLocation.Builder,EndpointLocation>, SdkBuilder<EndpointLocation.Builder,EndpointLocation>public static interface EndpointLocation.Builder extends CopyableBuilder<EndpointLocation.Builder,EndpointLocation>
| Modifier and Type | Method | Description |
|---|---|---|
EndpointLocation.Builder |
city(String city) |
The city where the endpoint is located.
|
EndpointLocation.Builder |
country(String country) |
Country according to ISO 3166-1 Alpha-2 codes.
|
EndpointLocation.Builder |
latitude(Double latitude) |
The latitude of the endpoint location.
|
EndpointLocation.Builder |
longitude(Double longitude) |
The longitude of the endpoint location.
|
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.
|
copyapply, buildEndpointLocation.Builder city(String city)
city - The city where the endpoint is located.EndpointLocation.Builder country(String country)
country - Country according to ISO 3166-1 Alpha-2 codes. For example, US.EndpointLocation.Builder latitude(Double latitude)
latitude - The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).EndpointLocation.Builder longitude(Double longitude)
longitude - The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).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, corresponds to a state in US.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.