Interface CheckDomainAvailabilityResponse.Builder

    • Method Detail

      • availability

        CheckDomainAvailabilityResponse.Builder availability​(String 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DomainAvailability, DomainAvailability
      • availability

        CheckDomainAvailabilityResponse.Builder availability​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DomainAvailability, DomainAvailability