Class TransferDomainRequest

    • Constructor Detail

      • TransferDomainRequest

        public TransferDomainRequest()
    • Method Detail

      • 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 TransferDomainRequest 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 TransferDomainRequest 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 TransferDomainRequest 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.
      • getNameservers

        public List<Nameserver> getNameservers()

        Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

        Returns:
        Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

      • setNameservers

        public void setNameservers​(Collection<Nameserver> nameservers)

        Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

        Parameters:
        nameservers - Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

      • withNameservers

        public TransferDomainRequest withNameservers​(Nameserver... nameservers)

        Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

        NOTE: This method appends the values to the existing list (if any). Use setNameservers(java.util.Collection) or withNameservers(java.util.Collection) if you want to override the existing values.

        Parameters:
        nameservers - Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withNameservers

        public TransferDomainRequest withNameservers​(Collection<Nameserver> nameservers)

        Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

        Parameters:
        nameservers - Contains details for the host and glue IP addresses.

        Type: Complex

        Children: GlueIps, Name

        Required: No

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAuthCode

        public void setAuthCode​(String authCode)

        The authorization code for the domain. You get this value from the current registrar.

        Type: String

        Required: Yes

        Parameters:
        authCode - The authorization code for the domain. You get this value from the current registrar.

        Type: String

        Required: Yes

      • getAuthCode

        public String getAuthCode()

        The authorization code for the domain. You get this value from the current registrar.

        Type: String

        Required: Yes

        Returns:
        The authorization code for the domain. You get this value from the current registrar.

        Type: String

        Required: Yes

      • withAuthCode

        public TransferDomainRequest withAuthCode​(String authCode)

        The authorization code for the domain. You get this value from the current registrar.

        Type: String

        Required: Yes

        Parameters:
        authCode - The authorization code for the domain. You get this value from the current registrar.

        Type: String

        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 TransferDomainRequest 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 TransferDomainRequest 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 TransferDomainRequest 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 TransferDomainRequest 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 TransferDomainRequest 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 TransferDomainRequest 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 TransferDomainRequest 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object