@Generated(value="software.amazon.awssdk:codegen") public final class CheckDomainAvailabilityResponse extends Route53DomainsResponse implements ToCopyableBuilder<CheckDomainAvailabilityResponse.Builder,CheckDomainAvailabilityResponse>
The CheckDomainAvailability response includes the following elements.
Modifier and Type | Class and Description |
---|---|
static interface |
CheckDomainAvailabilityResponse.Builder |
Modifier and Type | Method and Description |
---|---|
DomainAvailability |
availability()
Whether the domain name is available for registering.
|
String |
availabilityAsString()
Whether the domain name is available for registering.
|
static CheckDomainAvailabilityResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CheckDomainAvailabilityResponse.Builder> |
serializableBuilderClass() |
CheckDomainAvailabilityResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public DomainAvailability availability()
Whether the domain name is available for registering.
You can register only domains designated as AVAILABLE
.
Valid values:
The domain name is available.
The domain name is reserved under specific conditions.
The domain name is available and can be preordered.
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.
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.
The domain name has been reserved for another person or organization.
The domain name is not available.
The domain name is not available.
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()
.
You can register only domains designated as AVAILABLE
.
Valid values:
The domain name is available.
The domain name is reserved under specific conditions.
The domain name is available and can be preordered.
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.
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.
The domain name has been reserved for another person or organization.
The domain name is not available.
The domain name is not available.
The domain name is forbidden.
DomainAvailability
public String availabilityAsString()
Whether the domain name is available for registering.
You can register only domains designated as AVAILABLE
.
Valid values:
The domain name is available.
The domain name is reserved under specific conditions.
The domain name is available and can be preordered.
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.
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.
The domain name has been reserved for another person or organization.
The domain name is not available.
The domain name is not available.
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()
.
You can register only domains designated as AVAILABLE
.
Valid values:
The domain name is available.
The domain name is reserved under specific conditions.
The domain name is available and can be preordered.
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.
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.
The domain name has been reserved for another person or organization.
The domain name is not available.
The domain name is not available.
The domain name is forbidden.
DomainAvailability
public CheckDomainAvailabilityResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CheckDomainAvailabilityResponse.Builder,CheckDomainAvailabilityResponse>
toBuilder
in class AwsResponse
public static CheckDomainAvailabilityResponse.Builder builder()
public static Class<? extends CheckDomainAvailabilityResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.