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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckDomainAvailabilityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckDomainAvailabilityResult
clone()
boolean
equals(Object obj)
String
getAvailability()
Whether the domain name is available for registering.int
hashCode()
void
setAvailability(DomainAvailability availability)
Whether the domain name is available for registering.void
setAvailability(String availability)
Whether the domain name is available for registering.String
toString()
Returns a string representation of this object; useful for testing and debugging.CheckDomainAvailabilityResult
withAvailability(DomainAvailability availability)
Whether the domain name is available for registering.CheckDomainAvailabilityResult
withAvailability(String availability)
Whether the domain name is available for registering.
-
-
-
Method Detail
-
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:
DomainAvailability
-
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:
DomainAvailability
-
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:
DomainAvailability
-
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:
DomainAvailability
-
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:
DomainAvailability
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CheckDomainAvailabilityResult clone()
-
-