@Generated(value="software.amazon.awssdk:codegen") public final class RegisterDomainRequest extends Route53DomainsRequest implements ToCopyableBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>
The RegisterDomain request includes the following elements.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterDomainRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ContactDetail |
adminContact()
Provides detailed contact information.
|
Boolean |
autoRenew()
Indicates whether the domain will be automatically renewed (
true) or not (false). |
static RegisterDomainRequest.Builder |
builder() |
String |
domainName()
The domain name that you want to register.
|
Integer |
durationInYears()
The number of years that you want to register the domain for.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
idnLangCode()
Reserved for future use.
|
Boolean |
privacyProtectAdminContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
privacyProtectRegistrantContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
privacyProtectTechContact()
Whether you want to conceal contact information from WHOIS queries.
|
ContactDetail |
registrantContact()
Provides detailed contact information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterDomainRequest.Builder> |
serializableBuilderClass() |
ContactDetail |
techContact()
Provides detailed contact information.
|
RegisterDomainRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The domain name that you want to register. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
Letters a through z. Domain names are not case sensitive.
Numbers 0 through 9.
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the . in example.com.
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53. For more information, see Formatting Internationalized Domain Names.
The domain name can contain only the following characters:
Letters a through z. Domain names are not case sensitive.
Numbers 0 through 9.
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the . in example.com.
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53. For more information, see Formatting Internationalized Domain Names.
public final String idnLangCode()
Reserved for future use.
public final Integer durationInYears()
The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
Default: 1
Default: 1
public final Boolean autoRenew()
Indicates whether the domain will be automatically renewed (true) or not (false). Auto
renewal only takes effect after the account is charged.
Default: true
true) or not (false
). Auto renewal only takes effect after the account is charged.
Default: true
public final ContactDetail adminContact()
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
public final ContactDetail registrantContact()
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
public final ContactDetail techContact()
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
public final Boolean privacyProtectAdminContact()
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS
("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or
for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return
the information that you entered for the admin contact.
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
true,
WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org
domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false,
WHOIS queries return the information that you entered for the admin contact. You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
public final Boolean privacyProtectRegistrantContact()
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS
("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or
for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return
the information that you entered for the registrant contact (the domain owner).
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
true,
WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org
domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false,
WHOIS queries return the information that you entered for the registrant contact (the domain owner).
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
public final Boolean privacyProtectTechContact()
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS
("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or
for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return
the information that you entered for the technical contact.
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
true,
WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org
domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false,
WHOIS queries return the information that you entered for the technical contact. You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
public RegisterDomainRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>toBuilder in class Route53DomainsRequestpublic static RegisterDomainRequest.Builder builder()
public static Class<? extends RegisterDomainRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.