Class GeoLocationDetails

    • Method Detail

      • continentCode

        public final String continentCode()

        The two-letter code for the continent.

        Returns:
        The two-letter code for the continent.
      • continentName

        public final String continentName()

        The full name of the continent.

        Returns:
        The full name of the continent.
      • countryCode

        public final String countryCode()

        The two-letter code for the country.

        Returns:
        The two-letter code for the country.
      • countryName

        public final String countryName()

        The name of the country.

        Returns:
        The name of the country.
      • subdivisionName

        public final String subdivisionName()

        The full name of the subdivision. Route 53 currently supports only states in the United States.

        Returns:
        The full name of the subdivision. Route 53 currently supports only states in the United States.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)