Interface EndpointLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointLocation.Builder,
,EndpointLocation> SdkBuilder<EndpointLocation.Builder,
,EndpointLocation> SdkPojo
- Enclosing class:
EndpointLocation
public static interface EndpointLocation.Builder
extends SdkPojo, CopyableBuilder<EndpointLocation.Builder,EndpointLocation>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the city where the endpoint is located.The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located.The latitude coordinate of the endpoint location, rounded to one decimal place.The longitude coordinate of the endpoint location, rounded to one decimal place.postalCode
(String postalCode) The postal or ZIP code for the area where the endpoint is located.The name of the region where the endpoint is located.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 Details
-
city
The name of the city where the endpoint is located.
- Parameters:
city
- The name of the city where the endpoint is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.
- Parameters:
country
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latitude
The latitude coordinate of the endpoint location, rounded to one decimal place.
- Parameters:
latitude
- The latitude coordinate of the endpoint location, rounded to one decimal place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longitude
The longitude coordinate of the endpoint location, rounded to one decimal place.
- Parameters:
longitude
- The longitude coordinate of the endpoint location, rounded to one decimal place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
The postal or ZIP code for the area where the endpoint is located.
- Parameters:
postalCode
- The postal or ZIP code for the area where the endpoint is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.
- Parameters:
region
- The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-