@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The RegisterDomain request includes the following elements.
NOOP| Constructor and Description |
|---|
RegisterDomainRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegisterDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ContactDetail |
getAdminContact()
Provides detailed contact information.
|
Boolean |
getAutoRenew()
Indicates whether the domain will be automatically renewed (
true) or not (false). |
String |
getDomainName()
The domain name that you want to register.
|
Integer |
getDurationInYears()
The number of years that you want to register the domain for.
|
String |
getIdnLangCode()
Reserved for future use.
|
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 |
setAutoRenew(Boolean autoRenew)
Indicates whether the domain will be automatically renewed (
true) or not (false). |
void |
setDomainName(String domainName)
The domain name that you want to register.
|
void |
setDurationInYears(Integer durationInYears)
The number of years that you want to register the domain for.
|
void |
setIdnLangCode(String idnLangCode)
Reserved for future use.
|
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.
|
RegisterDomainRequest |
withAdminContact(ContactDetail adminContact)
Provides detailed contact information.
|
RegisterDomainRequest |
withAutoRenew(Boolean autoRenew)
Indicates whether the domain will be automatically renewed (
true) or not (false). |
RegisterDomainRequest |
withDomainName(String domainName)
The domain name that you want to register.
|
RegisterDomainRequest |
withDurationInYears(Integer durationInYears)
The number of years that you want to register the domain for.
|
RegisterDomainRequest |
withIdnLangCode(String idnLangCode)
Reserved for future use.
|
RegisterDomainRequest |
withPrivacyProtectAdminContact(Boolean privacyProtectAdminContact)
Whether you want to conceal contact information from WHOIS queries.
|
RegisterDomainRequest |
withPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact)
Whether you want to conceal contact information from WHOIS queries.
|
RegisterDomainRequest |
withPrivacyProtectTechContact(Boolean privacyProtectTechContact)
Whether you want to conceal contact information from WHOIS queries.
|
RegisterDomainRequest |
withRegistrantContact(ContactDetail registrantContact)
Provides detailed contact information.
|
RegisterDomainRequest |
withTechContact(ContactDetail techContact)
Provides detailed contact information.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDomainName(String domainName)
The domain name that you want to register.
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.
domainName - The domain name that you want to register.
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.
public String getDomainName()
The domain name that you want to register.
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.
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.
public RegisterDomainRequest withDomainName(String domainName)
The domain name that you want to register.
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.
domainName - The domain name that you want to register.
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.
public void setIdnLangCode(String idnLangCode)
Reserved for future use.
idnLangCode - Reserved for future use.public String getIdnLangCode()
Reserved for future use.
public RegisterDomainRequest withIdnLangCode(String idnLangCode)
Reserved for future use.
idnLangCode - Reserved for future use.public void setDurationInYears(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
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
public Integer getDurationInYears()
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 RegisterDomainRequest withDurationInYears(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
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
public void setAutoRenew(Boolean autoRenew)
Indicates whether the domain will be automatically renewed (true) or not (false).
Autorenewal only takes effect after the account is charged.
Default: true
autoRenew - Indicates whether the domain will be automatically renewed (true) or not (false
). Autorenewal only takes effect after the account is charged.
Default: true
public Boolean getAutoRenew()
Indicates whether the domain will be automatically renewed (true) or not (false).
Autorenewal only takes effect after the account is charged.
Default: true
true) or not (false
). Autorenewal only takes effect after the account is charged.
Default: true
public RegisterDomainRequest withAutoRenew(Boolean autoRenew)
Indicates whether the domain will be automatically renewed (true) or not (false).
Autorenewal only takes effect after the account is charged.
Default: true
autoRenew - Indicates whether the domain will be automatically renewed (true) or not (false
). Autorenewal only takes effect after the account is charged.
Default: true
public Boolean isAutoRenew()
Indicates whether the domain will be automatically renewed (true) or not (false).
Autorenewal only takes effect after the account is charged.
Default: true
true) or not (false
). Autorenewal only takes effect after the account is charged.
Default: true
public void setAdminContact(ContactDetail adminContact)
Provides detailed contact information.
adminContact - Provides detailed contact information.public ContactDetail getAdminContact()
Provides detailed contact information.
public RegisterDomainRequest withAdminContact(ContactDetail adminContact)
Provides detailed contact information.
adminContact - Provides detailed contact information.public void setRegistrantContact(ContactDetail registrantContact)
Provides detailed contact information.
registrantContact - Provides detailed contact information.public ContactDetail getRegistrantContact()
Provides detailed contact information.
public RegisterDomainRequest withRegistrantContact(ContactDetail registrantContact)
Provides detailed contact information.
registrantContact - Provides detailed contact information.public void setTechContact(ContactDetail techContact)
Provides detailed contact information.
techContact - Provides detailed contact information.public ContactDetail getTechContact()
Provides detailed contact information.
public RegisterDomainRequest withTechContact(ContactDetail techContact)
Provides detailed contact information.
techContact - Provides detailed contact information.public void setPrivacyProtectAdminContact(Boolean 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.
Default: true
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.
Default: true
public Boolean getPrivacyProtectAdminContact()
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.
Default: true
true,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public RegisterDomainRequest withPrivacyProtectAdminContact(Boolean 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.
Default: true
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.
Default: true
public Boolean isPrivacyProtectAdminContact()
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.
Default: true
true,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public void setPrivacyProtectRegistrantContact(Boolean 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.
Default: true
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.
Default: true
public Boolean getPrivacyProtectRegistrantContact()
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.
Default: true
true,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public RegisterDomainRequest withPrivacyProtectRegistrantContact(Boolean 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.
Default: true
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.
Default: true
public Boolean isPrivacyProtectRegistrantContact()
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.
Default: true
true,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public void setPrivacyProtectTechContact(Boolean 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.
Default: true
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.
Default: true
public Boolean getPrivacyProtectTechContact()
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.
Default: true
true,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public RegisterDomainRequest withPrivacyProtectTechContact(Boolean 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.
Default: true
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.
Default: true
public Boolean isPrivacyProtectTechContact()
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.
Default: true
true,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public String toString()
toString in class ObjectObject.toString()public RegisterDomainRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.