Class CheckDomainAvailabilityResponse

    • Method Detail

      • availability

        public final DomainAvailability availability()

        Whether the domain name is available for registering.

        You can register only domains 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.

        INVALID_NAME_FOR_TLD

        The TLD isn't valid. For example, it can contain characters that aren't allowed.

        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.

        If the service returns an enum value that is not available in the current SDK version, availability will return DomainAvailability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from availabilityAsString().

        Returns:
        Whether the domain name is available for registering.

        You can register only domains 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.

        INVALID_NAME_FOR_TLD

        The TLD isn't valid. For example, it can contain characters that aren't allowed.

        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.

        See Also:
        DomainAvailability
      • availabilityAsString

        public final String availabilityAsString()

        Whether the domain name is available for registering.

        You can register only domains 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.

        INVALID_NAME_FOR_TLD

        The TLD isn't valid. For example, it can contain characters that aren't allowed.

        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.

        If the service returns an enum value that is not available in the current SDK version, availability will return DomainAvailability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from availabilityAsString().

        Returns:
        Whether the domain name is available for registering.

        You can register only domains 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.

        INVALID_NAME_FOR_TLD

        The TLD isn't valid. For example, it can contain characters that aren't allowed.

        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.

        See Also:
        DomainAvailability
      • 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