Class RegisterDomainRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
The RegisterDomain request includes the following elements.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Provides detailed contact information.Indicates whether the domain will be automatically renewed (true
) or not (false
).The name of a domain.The number of years the domain will be registered.Reserved for future use.Whether you want to conceal contact information from WHOIS queries.Whether you want to conceal contact information from WHOIS queries.Whether you want to conceal contact information from WHOIS queries.Provides detailed contact information.Provides detailed contact information.int
hashCode()
Indicates whether the domain will be automatically renewed (true
) or not (false
).Whether you want to conceal contact information from WHOIS queries.Whether you want to conceal contact information from WHOIS queries.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAdminContact
(ContactDetail adminContact) Provides detailed contact information.withAutoRenew
(Boolean autoRenew) Indicates whether the domain will be automatically renewed (true
) or not (false
).withDomainName
(String domainName) The name of a domain.withDurationInYears
(Integer durationInYears) The number of years the domain will be registered.withIdnLangCode
(String idnLangCode) Reserved for future use.withPrivacyProtectAdminContact
(Boolean privacyProtectAdminContact) Whether you want to conceal contact information from WHOIS queries.withPrivacyProtectRegistrantContact
(Boolean privacyProtectRegistrantContact) Whether you want to conceal contact information from WHOIS queries.withPrivacyProtectTechContact
(Boolean privacyProtectTechContact) Whether you want to conceal contact information from WHOIS queries.withRegistrantContact
(ContactDetail registrantContact) Provides detailed contact information.withTechContact
(ContactDetail techContact) Provides detailed contact information.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
RegisterDomainRequest
public RegisterDomainRequest()
-
-
Method Details
-
setDomainName
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
- Parameters:
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
-
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
- Returns:
- 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
-
withDomainName
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdnLangCode
Reserved for future use.
- Parameters:
idnLangCode
- Reserved for future use.
-
getIdnLangCode
Reserved for future use.
- Returns:
- Reserved for future use.
-
withIdnLangCode
Reserved for future use.
- Parameters:
idnLangCode
- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDurationInYears
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
- Parameters:
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
-
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
- Returns:
- 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
-
withDurationInYears
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoRenew
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
- Parameters:
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
-
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
- Returns:
- 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
-
withAutoRenew
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Returns:
- 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
-
setAdminContact
Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
- Parameters:
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
-
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
- Returns:
- Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
-
withAdminContact
Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegistrantContact
Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
- Parameters:
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
-
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
- Returns:
- Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
-
withRegistrantContact
Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTechContact
Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
- Parameters:
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
-
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
- Returns:
- Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
-
withTechContact
Provides detailed contact information.
Type: Complex
Children:
FirstName
,MiddleName
,LastName
,ContactType
,OrganizationName
,AddressLine1
,AddressLine2
,City
,State
,CountryCode
,ZipCode
,PhoneNumber
,Email
,Fax
,ExtraParams
Required: Yes
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrivacyProtectAdminContact
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
- Parameters:
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
-
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
- Returns:
- 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
-
withPrivacyProtectAdminContact
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Returns:
- 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
-
setPrivacyProtectRegistrantContact
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
- Parameters:
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
-
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
- Returns:
- 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
-
withPrivacyProtectRegistrantContact
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Returns:
- 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
-
setPrivacyProtectTechContact
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
- Parameters:
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
-
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
- Returns:
- 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
-
withPrivacyProtectTechContact
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Returns:
- 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
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-