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 request.
|
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 name of a domain.
|
Integer |
getDurationInYears()
The number of years the domain will be registered.
|
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 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 |
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 name of a domain.
|
RegisterDomainRequest |
withDurationInYears(Integer durationInYears)
The number of years the domain will be registered.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String 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
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 getDomainName()
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
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 RegisterDomainRequest withDomainName(String 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
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 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 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
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 Integer getDurationInYears()
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
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: Yes
public RegisterDomainRequest withDurationInYears(Integer 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
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 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.
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 Boolean getAutoRenew()
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
true
) or not (false
). Autorenewal only
takes effect after the account is charged.
Type: Boolean
Valid values: true
| false
Default: true
Required: No
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.
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 Boolean isAutoRenew()
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
true
) or not (false
). Autorenewal only
takes effect after the account is charged.
Type: Boolean
Valid values: true
| false
Default: true
Required: No
public void setAdminContact(ContactDetail 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
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 getAdminContact()
Provides detailed contact information.
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 RegisterDomainRequest withAdminContact(ContactDetail 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
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 void setRegistrantContact(ContactDetail 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
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 getRegistrantContact()
Provides detailed contact information.
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 RegisterDomainRequest withRegistrantContact(ContactDetail 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
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 void setTechContact(ContactDetail 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
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 ContactDetail getTechContact()
Provides detailed contact information.
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 RegisterDomainRequest withTechContact(ContactDetail 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
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 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.
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 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.
Type: Boolean
Default: true
Valid values: true
| false
Required: No
Type: Boolean
Default: true
Valid values: true
| false
Required: No
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.
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 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.
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)
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
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()
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
Type: Boolean
Default: true
Valid values: true
| false
Required: No
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.
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 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.
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)
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
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()
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
Type: Boolean
Default: true
Valid values: true
| false
Required: No
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.
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 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.
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 RegisterDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.