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 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

      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

      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.