Class ListGeoLocationsRequest

    • Constructor Detail

      • ListGeoLocationsRequest

        public ListGeoLocationsRequest()
    • Method Detail

      • setStartContinentCode

        public void setStartContinentCode​(String startContinentCode)

        The first continent code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list. For non-continent geo locations, this should be null.

        Valid values: AF | AN | AS | EU | OC | NA | SA

        Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

        Parameters:
        startContinentCode - The first continent code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list. For non-continent geo locations, this should be null.

        Valid values: AF | AN | AS | EU | OC | NA | SA

        Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

      • getStartContinentCode

        public String getStartContinentCode()

        The first continent code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list. For non-continent geo locations, this should be null.

        Valid values: AF | AN | AS | EU | OC | NA | SA

        Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

        Returns:
        The first continent code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list. For non-continent geo locations, this should be null.

        Valid values: AF | AN | AS | EU | OC | NA | SA

        Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

      • withStartContinentCode

        public ListGeoLocationsRequest withStartContinentCode​(String startContinentCode)

        The first continent code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list. For non-continent geo locations, this should be null.

        Valid values: AF | AN | AS | EU | OC | NA | SA

        Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

        Parameters:
        startContinentCode - The first continent code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list. For non-continent geo locations, this should be null.

        Valid values: AF | AN | AS | EU | OC | NA | SA

        Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartCountryCode

        public void setStartCountryCode​(String startCountryCode)

        The first country code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

        Parameters:
        startCountryCode - The first country code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

      • getStartCountryCode

        public String getStartCountryCode()

        The first country code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

        Returns:
        The first country code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

      • withStartCountryCode

        public ListGeoLocationsRequest withStartCountryCode​(String startCountryCode)

        The first country code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

        Parameters:
        startCountryCode - The first country code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartSubdivisionCode

        public void setStartSubdivisionCode​(String startSubdivisionCode)

        The first subdivision code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

        Parameters:
        startSubdivisionCode - The first subdivision code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

      • getStartSubdivisionCode

        public String getStartSubdivisionCode()

        The first subdivision code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

        Returns:
        The first subdivision code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

      • withStartSubdivisionCode

        public ListGeoLocationsRequest withStartSubdivisionCode​(String startSubdivisionCode)

        The first subdivision code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

        Parameters:
        startSubdivisionCode - The first subdivision code in the lexicographic ordering of geo locations that you want the ListGeoLocations request to list.

        Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxItems

        public void setMaxItems​(String maxItems)

        The maximum number of geo locations you want in the response body.

        Parameters:
        maxItems - The maximum number of geo locations you want in the response body.
      • getMaxItems

        public String getMaxItems()

        The maximum number of geo locations you want in the response body.

        Returns:
        The maximum number of geo locations you want in the response body.
      • withMaxItems

        public ListGeoLocationsRequest withMaxItems​(String maxItems)

        The maximum number of geo locations you want in the response body.

        Parameters:
        maxItems - The maximum number of geo locations you want in the response body.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object