Class CheckDomainAvailabilityResult

java.lang.Object
com.amazonaws.services.route53domains.model.CheckDomainAvailabilityResult
All Implemented Interfaces:
Serializable, Cloneable

public class CheckDomainAvailabilityResult extends Object implements Serializable, Cloneable

The CheckDomainAvailability response includes the following elements.

See Also:
  • Constructor Details

    • CheckDomainAvailabilityResult

      public CheckDomainAvailabilityResult()
  • Method Details

    • setAvailability

      public void setAvailability(String availability)

      Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE.

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Parameters:
      availability - Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE .

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      See Also:
    • getAvailability

      public String getAvailability()

      Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE.

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Returns:
      Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE.

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      See Also:
    • withAvailability

      public CheckDomainAvailabilityResult withAvailability(String availability)

      Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE.

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Parameters:
      availability - Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE .

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setAvailability

      public void setAvailability(DomainAvailability availability)

      Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE.

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Parameters:
      availability - Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE .

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      See Also:
    • withAvailability

      public CheckDomainAvailabilityResult withAvailability(DomainAvailability availability)

      Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE.

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Parameters:
      availability - Whether the domain name is available for registering.

      You can only register domains designated as AVAILABLE .

      Type: String

      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.
      • UNAVAILABLE – The domain name is not available.
      • UNAVAILABLE_PREMIUM – The domain name is not available.
      • UNAVAILABLE_RESTRICTED – The domain name is forbidden.
      • RESERVED – The domain name has been reserved for another person or organization.
      • DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object