Interface ListGeoLocationsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListGeoLocationsResponse.Builder,ListGeoLocationsResponse>, Route53Response.Builder, SdkBuilder<ListGeoLocationsResponse.Builder,ListGeoLocationsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListGeoLocationsResponse

public static interface ListGeoLocationsResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<ListGeoLocationsResponse.Builder,ListGeoLocationsResponse>
  • Method Details

    • geoLocationDetailsList

      ListGeoLocationsResponse.Builder geoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)

      A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.

      Parameters:
      geoLocationDetailsList - A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geoLocationDetailsList

      ListGeoLocationsResponse.Builder geoLocationDetailsList(GeoLocationDetails... geoLocationDetailsList)

      A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.

      Parameters:
      geoLocationDetailsList - A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geoLocationDetailsList

      ListGeoLocationsResponse.Builder geoLocationDetailsList(Consumer<GeoLocationDetails.Builder>... geoLocationDetailsList)

      A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.

      This is a convenience method that creates an instance of the GeoLocationDetails.Builder avoiding the need to create one manually via GeoLocationDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to geoLocationDetailsList(List<GeoLocationDetails>).

      Parameters:
      geoLocationDetailsList - a consumer that will call methods on GeoLocationDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isTruncated

      ListGeoLocationsResponse.Builder isTruncated(Boolean isTruncated)

      A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of IsTruncated is true. To get more values, submit another request and include the values of NextContinentCode, NextCountryCode, and NextSubdivisionCode in the startcontinentcode, startcountrycode, and startsubdivisioncode, as applicable.

      Parameters:
      isTruncated - A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of IsTruncated is true. To get more values, submit another request and include the values of NextContinentCode, NextCountryCode, and NextSubdivisionCode in the startcontinentcode, startcountrycode, and startsubdivisioncode, as applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextContinentCode

      ListGeoLocationsResponse.Builder nextContinentCode(String nextContinentCode)

      If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextContinentCode in the startcontinentcode parameter in another ListGeoLocations request.

      Parameters:
      nextContinentCode - If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextContinentCode in the startcontinentcode parameter in another ListGeoLocations request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextCountryCode

      ListGeoLocationsResponse.Builder nextCountryCode(String nextCountryCode)

      If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextCountryCode in the startcountrycode parameter in another ListGeoLocations request.

      Parameters:
      nextCountryCode - If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextCountryCode in the startcountrycode parameter in another ListGeoLocations request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextSubdivisionCode

      ListGeoLocationsResponse.Builder nextSubdivisionCode(String nextSubdivisionCode)

      If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextSubdivisionCode in the startsubdivisioncode parameter in another ListGeoLocations request.

      Parameters:
      nextSubdivisionCode - If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextSubdivisionCode in the startsubdivisioncode parameter in another ListGeoLocations request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxItems

      The value that you specified for MaxItems in the request.

      Parameters:
      maxItems - The value that you specified for MaxItems in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.