@Generated(value="software.amazon.awssdk:codegen") public final class TransferDomainRequest extends Route53DomainsRequest implements ToCopyableBuilder<TransferDomainRequest.Builder,TransferDomainRequest>
The TransferDomain request includes the following elements.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransferDomainRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ContactDetail |
adminContact()
Provides detailed contact information.
|
String |
authCode()
The authorization code for the domain.
|
Boolean |
autoRenew()
Indicates whether the domain will be automatically renewed (true) or not (false).
|
static TransferDomainRequest.Builder |
builder() |
String |
domainName()
The name of the domain that you want to transfer to Route 53.
|
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() |
boolean |
hasNameservers()
For responses, this returns true if the service returned a value for the Nameservers property.
|
String |
idnLangCode()
Reserved for future use.
|
List<Nameserver> |
nameservers()
Contains details for the host and glue IP addresses.
|
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 TransferDomainRequest.Builder> |
serializableBuilderClass() |
ContactDetail |
techContact()
Provides detailed contact information.
|
TransferDomainRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The name of the domain that you want to transfer to Route 53. 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.
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.
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.
Default: 1
Default: 1
public final boolean hasNameservers()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Nameserver> nameservers()
Contains details for the host and glue IP addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNameservers() method.
public final String authCode()
The authorization code for the domain. You get this value from the current registrar.
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
Default: true
public final ContactDetail adminContact()
Provides detailed contact information.
public final ContactDetail registrantContact()
Provides detailed contact information.
public final ContactDetail techContact()
Provides detailed contact information.
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 for the registrar, the phrase "REDACTED FOR PRIVACY", or
"On behalf of <domain name> owner.".
While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all contacts.
Default: true
true,
WHOIS ("who is") queries return contact information for the registrar, the phrase "REDACTED FOR PRIVACY",
or "On behalf of <domain name> owner.". While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all 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 (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 (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 TransferDomainRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransferDomainRequest.Builder,TransferDomainRequest>toBuilder in class Route53DomainsRequestpublic static TransferDomainRequest.Builder builder()
public static Class<? extends TransferDomainRequest.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.