Class CheckDomainAvailabilityResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.route53domains.model.Route53DomainsResponse
-
- software.amazon.awssdk.services.route53domains.model.CheckDomainAvailabilityResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CheckDomainAvailabilityResponse.Builder,CheckDomainAvailabilityResponse>
@Generated("software.amazon.awssdk:codegen") public final class CheckDomainAvailabilityResponse extends Route53DomainsResponse implements ToCopyableBuilder<CheckDomainAvailabilityResponse.Builder,CheckDomainAvailabilityResponse>
The CheckDomainAvailability response includes the following elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCheckDomainAvailabilityResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainAvailabilityavailability()Whether the domain name is available for registering.StringavailabilityAsString()Whether the domain name is available for registering.static CheckDomainAvailabilityResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CheckDomainAvailabilityResponse.Builder>serializableBuilderClass()CheckDomainAvailabilityResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.route53domains.model.Route53DomainsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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,
availabilitywill returnDomainAvailability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromavailabilityAsString().- 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,
availabilitywill returnDomainAvailability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromavailabilityAsString().- 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
-
toBuilder
public CheckDomainAvailabilityResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CheckDomainAvailabilityResponse.Builder,CheckDomainAvailabilityResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CheckDomainAvailabilityResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CheckDomainAvailabilityResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-