Class DomainSuggestion

    • Method Detail

      • domainName

        public final String domainName()

        A suggested domain name.

        Returns:
        A suggested domain name.
      • availability

        public final String availability()

        Whether the domain name is available for registering.

        You can register only the domains that are designated as AVAILABLE.

        Valid values:

        AVAILABLE

        The domain name is available.

        AVAILABLE_RESERVED

        The domain name is reserved under specific conditions.

        AVAILABLE_PREORDER

        The domain name is available and can be preordered.

        DONT_KNOW

        The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

        PENDING

        The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

        RESERVED

        The domain name has been reserved for another person or organization.

        UNAVAILABLE

        The domain name is not available.

        UNAVAILABLE_PREMIUM

        The domain name is not available.

        UNAVAILABLE_RESTRICTED

        The domain name is forbidden.

        Returns:
        Whether the domain name is available for registering.

        You can register only the domains that are designated as AVAILABLE.

        Valid values:

        AVAILABLE

        The domain name is available.

        AVAILABLE_RESERVED

        The domain name is reserved under specific conditions.

        AVAILABLE_PREORDER

        The domain name is available and can be preordered.

        DONT_KNOW

        The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

        PENDING

        The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

        RESERVED

        The domain name has been reserved for another person or organization.

        UNAVAILABLE

        The domain name is not available.

        UNAVAILABLE_PREMIUM

        The domain name is not available.

        UNAVAILABLE_RESTRICTED

        The domain name is forbidden.

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