public class TransferDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
TransferDomain operation
.
This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi.
For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.
If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.
NOTE:Caution! If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.
If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.
NOOP
Constructor and Description |
---|
TransferDomainRequest() |
Modifier and Type | Method and Description |
---|---|
TransferDomainRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
ContactDetail |
getAdminContact()
Provides detailed contact information.
|
String |
getAuthCode()
The authorization code for the domain.
|
Boolean |
getAutoRenew()
Indicates whether the domain will be automatically renewed (true) or
not (false).
|
String |
getDomainName()
The name of a domain.
|
Integer |
getDurationInYears()
The number of years the domain will be registered.
|
String |
getIdnLangCode()
Reserved for future use.
|
List<Nameserver> |
getNameservers()
Contains details for the host and glue IP addresses.
|
Boolean |
getPrivacyProtectAdminContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
getPrivacyProtectRegistrantContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
getPrivacyProtectTechContact()
Whether you want to conceal contact information from WHOIS queries.
|
ContactDetail |
getRegistrantContact()
Provides detailed contact information.
|
ContactDetail |
getTechContact()
Provides detailed contact information.
|
int |
hashCode() |
Boolean |
isAutoRenew()
Indicates whether the domain will be automatically renewed (true) or
not (false).
|
Boolean |
isPrivacyProtectAdminContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
isPrivacyProtectRegistrantContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
isPrivacyProtectTechContact()
Whether you want to conceal contact information from WHOIS queries.
|
void |
setAdminContact(ContactDetail adminContact)
Provides detailed contact information.
|
void |
setAuthCode(String authCode)
The authorization code for the domain.
|
void |
setAutoRenew(Boolean autoRenew)
Indicates whether the domain will be automatically renewed (true) or
not (false).
|
void |
setDomainName(String domainName)
The name of a domain.
|
void |
setDurationInYears(Integer durationInYears)
The number of years the domain will be registered.
|
void |
setIdnLangCode(String idnLangCode)
Reserved for future use.
|
void |
setNameservers(Collection<Nameserver> nameservers)
Contains details for the host and glue IP addresses.
|
void |
setPrivacyProtectAdminContact(Boolean privacyProtectAdminContact)
Whether you want to conceal contact information from WHOIS queries.
|
void |
setPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact)
Whether you want to conceal contact information from WHOIS queries.
|
void |
setPrivacyProtectTechContact(Boolean privacyProtectTechContact)
Whether you want to conceal contact information from WHOIS queries.
|
void |
setRegistrantContact(ContactDetail registrantContact)
Provides detailed contact information.
|
void |
setTechContact(ContactDetail techContact)
Provides detailed contact information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TransferDomainRequest |
withAdminContact(ContactDetail adminContact)
Provides detailed contact information.
|
TransferDomainRequest |
withAuthCode(String authCode)
The authorization code for the domain.
|
TransferDomainRequest |
withAutoRenew(Boolean autoRenew)
Indicates whether the domain will be automatically renewed (true) or
not (false).
|
TransferDomainRequest |
withDomainName(String domainName)
The name of a domain.
|
TransferDomainRequest |
withDurationInYears(Integer durationInYears)
The number of years the domain will be registered.
|
TransferDomainRequest |
withIdnLangCode(String idnLangCode)
Reserved for future use.
|
TransferDomainRequest |
withNameservers(Collection<Nameserver> nameservers)
Contains details for the host and glue IP addresses.
|
TransferDomainRequest |
withNameservers(Nameserver... nameservers)
Contains details for the host and glue IP addresses.
|
TransferDomainRequest |
withPrivacyProtectAdminContact(Boolean privacyProtectAdminContact)
Whether you want to conceal contact information from WHOIS queries.
|
TransferDomainRequest |
withPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact)
Whether you want to conceal contact information from WHOIS queries.
|
TransferDomainRequest |
withPrivacyProtectTechContact(Boolean privacyProtectTechContact)
Whether you want to conceal contact information from WHOIS queries.
|
TransferDomainRequest |
withRegistrantContact(ContactDetail registrantContact)
Provides detailed contact information.
|
TransferDomainRequest |
withTechContact(ContactDetail techContact)
Provides detailed contact information.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDomainName()
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public void setDomainName(String domainName)
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName
- The name of a domain. Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public TransferDomainRequest withDomainName(String domainName)
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName
- The name of a domain. Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public String getIdnLangCode()
Constraints:
Length: 0 - 3
public void setIdnLangCode(String idnLangCode)
Constraints:
Length: 0 - 3
idnLangCode
- Reserved for future use.public TransferDomainRequest withIdnLangCode(String idnLangCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 3
idnLangCode
- Reserved for future use.public Integer getDurationInYears()
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
Constraints:
Range: 1 - 10
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
public void setDurationInYears(Integer durationInYears)
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
Constraints:
Range: 1 - 10
durationInYears
- The number of years the domain will be registered. Domains are
registered for a minimum of one year. The maximum period depends on
the top-level domain. Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
public TransferDomainRequest withDurationInYears(Integer durationInYears)
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10
durationInYears
- The number of years the domain will be registered. Domains are
registered for a minimum of one year. The maximum period depends on
the top-level domain. Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
public List<Nameserver> getNameservers()
Type: Complex
Children: GlueIps
, Name
Required: No
Type: Complex
Children: GlueIps
, Name
Required: No
public void setNameservers(Collection<Nameserver> nameservers)
Type: Complex
Children: GlueIps
, Name
Required: No
nameservers
- Contains details for the host and glue IP addresses. Type: Complex
Children: GlueIps
, Name
Required: No
public TransferDomainRequest withNameservers(Nameserver... nameservers)
Type: Complex
Children: GlueIps
, Name
Required: No
NOTE: This method appends the values to the existing list (if
any). Use setNameservers(java.util.Collection)
or withNameservers(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
nameservers
- Contains details for the host and glue IP addresses. Type: Complex
Children: GlueIps
, Name
Required: No
public TransferDomainRequest withNameservers(Collection<Nameserver> nameservers)
Type: Complex
Children: GlueIps
, Name
Required: No
Returns a reference to this object so that method calls can be chained together.
nameservers
- Contains details for the host and glue IP addresses. Type: Complex
Children: GlueIps
, Name
Required: No
public String getAuthCode()
Type: String
Required: Yes
Constraints:
Length: 0 - 1024
Type: String
Required: Yes
public void setAuthCode(String authCode)
Type: String
Required: Yes
Constraints:
Length: 0 - 1024
authCode
- The authorization code for the domain. You get this value from the
current registrar. Type: String
Required: Yes
public TransferDomainRequest withAuthCode(String authCode)
Type: String
Required: Yes
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
authCode
- The authorization code for the domain. You get this value from the
current registrar. Type: String
Required: Yes
public Boolean isAutoRenew()
Type: Boolean
Valid values: true
|
false
Default: true
Required: No
Type: Boolean
Valid values: true
|
false
Default: true
Required: No
public void setAutoRenew(Boolean autoRenew)
Type: Boolean
Valid values: true
|
false
Default: true
Required: No
autoRenew
- Indicates whether the domain will be automatically renewed (true) or
not (false). Autorenewal only takes effect after the account is
charged. Type: Boolean
Valid values: true
|
false
Default: true
Required: No
public TransferDomainRequest withAutoRenew(Boolean autoRenew)
Type: Boolean
Valid values: true
|
false
Default: true
Required: No
Returns a reference to this object so that method calls can be chained together.
autoRenew
- Indicates whether the domain will be automatically renewed (true) or
not (false). Autorenewal only takes effect after the account is
charged. Type: Boolean
Valid values: true
|
false
Default: true
Required: No
public Boolean getAutoRenew()
Type: Boolean
Valid values: true
|
false
Default: true
Required: No
Type: Boolean
Valid values: true
|
false
Default: true
Required: No
public ContactDetail getAdminContact()
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public void setAdminContact(ContactDetail adminContact)
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
adminContact
- Provides detailed contact information. Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public TransferDomainRequest withAdminContact(ContactDetail adminContact)
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
Returns a reference to this object so that method calls can be chained together.
adminContact
- Provides detailed contact information. Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public ContactDetail getRegistrantContact()
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public void setRegistrantContact(ContactDetail registrantContact)
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
registrantContact
- Provides detailed contact information. Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public TransferDomainRequest withRegistrantContact(ContactDetail registrantContact)
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
Returns a reference to this object so that method calls can be chained together.
registrantContact
- Provides detailed contact information. Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public ContactDetail getTechContact()
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public void setTechContact(ContactDetail techContact)
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
techContact
- Provides detailed contact information. Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public TransferDomainRequest withTechContact(ContactDetail techContact)
Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
Returns a reference to this object so that method calls can be chained together.
techContact
- Provides detailed contact information. Type: Complex
Children:
FirstName
, MiddleName
,
LastName
, ContactType
,
OrganizationName
, AddressLine1
,
AddressLine2
, City
, State
,
CountryCode
, ZipCode
,
PhoneNumber
, Email
, Fax
,
ExtraParams
Required: Yes
public Boolean isPrivacyProtectAdminContact()
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public void setPrivacyProtectAdminContact(Boolean privacyProtectAdminContact)
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
privacyProtectAdminContact
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public TransferDomainRequest withPrivacyProtectAdminContact(Boolean privacyProtectAdminContact)
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Returns a reference to this object so that method calls can be chained together.
privacyProtectAdminContact
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public Boolean getPrivacyProtectAdminContact()
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public Boolean isPrivacyProtectRegistrantContact()
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public void setPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact)
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
privacyProtectRegistrantContact
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public TransferDomainRequest withPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact)
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Returns a reference to this object so that method calls can be chained together.
privacyProtectRegistrantContact
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public Boolean getPrivacyProtectRegistrantContact()
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public Boolean isPrivacyProtectTechContact()
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public void setPrivacyProtectTechContact(Boolean privacyProtectTechContact)
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
privacyProtectTechContact
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public TransferDomainRequest withPrivacyProtectTechContact(Boolean privacyProtectTechContact)
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Returns a reference to this object so that method calls can be chained together.
privacyProtectTechContact
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public Boolean getPrivacyProtectTechContact()
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
Type: Boolean
Default:
true
Valid values: true
|
false
Required: No
public String toString()
toString
in class Object
Object.toString()
public TransferDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.