Class RegisterDomainRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.route53domains.model.RegisterDomainRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class RegisterDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The RegisterDomain request includes the following elements.

See Also:
  • Constructor Details

    • RegisterDomainRequest

      public RegisterDomainRequest()
  • Method Details

    • setDomainName

      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

      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

      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

      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

      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

      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

      public void setIdnLangCode(String idnLangCode)

      Reserved for future use.

      Parameters:
      idnLangCode - Reserved for future use.
    • getIdnLangCode

      public String getIdnLangCode()

      Reserved for future use.

      Returns:
      Reserved for future use.
    • withIdnLangCode

      public RegisterDomainRequest withIdnLangCode(String idnLangCode)

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RegisterDomainRequest 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 class AmazonWebServiceRequest
      See Also: