public class RegisterDomainRequest extends AmazonWebServiceRequest implements Serializable
RegisterDomain operation
.
This operation registers a domain. Domains are registered by the AWS registrar partner, Gandi. For some top-level domains (TLDs), this operation requires extra parameters.
When you register a domain, Amazon Route 53 does the following:
NOOP
Constructor and Description |
---|
RegisterDomainRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, 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 RegisterDomainRequest 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 RegisterDomainRequest 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 RegisterDomainRequest 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 Boolean isAutoRenew()
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 setAutoRenew(Boolean autoRenew)
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 RegisterDomainRequest withAutoRenew(Boolean autoRenew)
true
) or not (false
). Autorenewal only
takes effect after the account is charged. 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()
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 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 RegisterDomainRequest 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 RegisterDomainRequest 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 RegisterDomainRequest 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 RegisterDomainRequest 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 RegisterDomainRequest 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 RegisterDomainRequest 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()
Copyright © 2014. All rights reserved.