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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointLocation.Buildercity(String city)The name of the city where the endpoint is located.EndpointLocation.Buildercountry(String country)The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located.EndpointLocation.Builderlatitude(Double latitude)The latitude coordinate of the endpoint location, rounded to one decimal place.EndpointLocation.Builderlongitude(Double longitude)The longitude coordinate of the endpoint location, rounded to one decimal place.EndpointLocation.BuilderpostalCode(String postalCode)The postal or ZIP code for the area where the endpoint is located.EndpointLocation.Builderregion(String region)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 Detail
-
city
EndpointLocation.Builder city(String 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
EndpointLocation.Builder country(String 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
EndpointLocation.Builder latitude(Double 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
EndpointLocation.Builder longitude(Double 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
EndpointLocation.Builder postalCode(String 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
EndpointLocation.Builder region(String 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.
-
-