Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.route53domains.model;
  
  
Container for the parameters to the TransferDomain operation.

This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi.

For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.

If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.

NOTE:Caution! If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.

If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.

  
  public class TransferDomainRequest extends AmazonWebServiceRequest implements SerializableCloneable {

    
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

Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*

  
      private String domainName;

    
Reserved for future use.

Constraints:
Length: 0 - 3

  
      private String idnLangCode;

    
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

Constraints:
Range: 1 - 10

  
      private Integer durationInYears;

    
Contains details for the host and glue IP addresses.

Type: Complex

Children: GlueIps, Name

Required: No

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

Type: String

Required: Yes

Constraints:
Length: 0 - 1024

 
     private String authCode;

    
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

 
     private Boolean autoRenew;

    
Provides detailed contact information.

Type: Complex

Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, Email, Fax, ExtraParams

Required: Yes

 
     private 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

 
     private 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

 
     private ContactDetail techContact;

    
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

 
     private 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

 
     private 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

 
     private Boolean privacyProtectTechContact;

    
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

Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*

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

 
     public String getDomainName() {
         return ;
     }
    
    
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

Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*

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

 
     public void setDomainName(String domainName) {
         this. = 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 a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withDomainName(String domainName) {
         this. = domainName;
         return this;
     }

    
Reserved for future use.

Constraints:
Length: 0 - 3

Returns:
Reserved for future use.
 
     public String getIdnLangCode() {
         return ;
     }
    
    
Reserved for future use.

Constraints:
Length: 0 - 3

Parameters:
idnLangCode Reserved for future use.
 
     public void setIdnLangCode(String idnLangCode) {
         this. = idnLangCode;
     }
    
    
Reserved for future use.

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

Constraints:
Length: 0 - 3

Parameters:
idnLangCode Reserved for future use.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withIdnLangCode(String idnLangCode) {
         this. = idnLangCode;
         return this;
     }

    
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

Constraints:
Range: 1 - 10

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

 
     public Integer getDurationInYears() {
         return ;
     }
    
    
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

Constraints:
Range: 1 - 10

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

 
     public void setDurationInYears(Integer durationInYears) {
         this. = 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 a reference to this object so that method calls can be chained together.

Constraints:
Range: 1 - 10

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withDurationInYears(Integer durationInYears) {
         this. = durationInYears;
         return this;
     }

    
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

 
     public java.util.List<NameservergetNameservers() {
         if ( == null) {
                = new com.amazonaws.internal.ListWithAutoConstructFlag<Nameserver>();
               .setAutoConstruct(true);
         }
         return ;
     }
    
    
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

 
     public void setNameservers(java.util.Collection<Nameservernameservers) {
         if (nameservers == null) {
             this. = null;
             return;
         }
         nameserversCopy.addAll(nameservers);
         this. = nameserversCopy;
     }
    
    
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.

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

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

Type: Complex

Children: GlueIps, Name

Required: No

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withNameservers(Nameserver... nameservers) {
         if (getNameservers() == nullsetNameservers(new java.util.ArrayList<Nameserver>(nameservers.length));
         for (Nameserver value : nameservers) {
             getNameservers().add(value);
         }
         return this;
     }
    
    
Contains details for the host and glue IP addresses.

Type: Complex

Children: GlueIps, Name

Required: No

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

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

Type: Complex

Children: GlueIps, Name

Required: No

Returns:
A reference to this updated object so that method calls can be chained together.
 
         if (nameservers == null) {
             this. = null;
         } else {
             com.amazonaws.internal.ListWithAutoConstructFlag<NameservernameserversCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<Nameserver>(nameservers.size());
             nameserversCopy.addAll(nameservers);
             this. = nameserversCopy;
         }
 
         return this;
     }

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

Type: String

Required: Yes

Constraints:
Length: 0 - 1024

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

Type: String

Required: Yes

 
     public String getAuthCode() {
         return ;
     }
    
    
The authorization code for the domain. You get this value from the current registrar.

Type: String

Required: Yes

Constraints:
Length: 0 - 1024

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

Type: String

Required: Yes

 
     public void setAuthCode(String authCode) {
         this. = authCode;
     }
    
    
The authorization code for the domain. You get this value from the current registrar.

Type: String

Required: Yes

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

Constraints:
Length: 0 - 1024

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

Type: String

Required: Yes

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withAuthCode(String authCode) {
         this. = authCode;
         return this;
     }

    
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

 
     public Boolean isAutoRenew() {
         return ;
     }
    
    
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

 
     public void setAutoRenew(Boolean autoRenew) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withAutoRenew(Boolean autoRenew) {
         this. = autoRenew;
         return this;
     }

    
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

 
     public Boolean getAutoRenew() {
         return ;
     }

    
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

 
     public ContactDetail getAdminContact() {
         return ;
     }
    
    
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

 
     public void setAdminContact(ContactDetail adminContact) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withAdminContact(ContactDetail adminContact) {
         this. = adminContact;
         return this;
     }

    
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

 
     public ContactDetail getRegistrantContact() {
         return ;
     }
    
    
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

 
     public void setRegistrantContact(ContactDetail registrantContact) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withRegistrantContact(ContactDetail registrantContact) {
         this. = registrantContact;
         return this;
     }

    
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

 
     public ContactDetail getTechContact() {
         return ;
     }
    
    
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

 
     public void setTechContact(ContactDetail techContact) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withTechContact(ContactDetail techContact) {
         this. = techContact;
         return this;
     }

    
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

 
         return ;
     }
    
    
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

 
     public void setPrivacyProtectAdminContact(Boolean privacyProtectAdminContact) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withPrivacyProtectAdminContact(Boolean privacyProtectAdminContact) {
         this. = privacyProtectAdminContact;
         return this;
     }

    
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

 
         return ;
     }

    
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

 
         return ;
     }
    
    
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

 
     public void setPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withPrivacyProtectRegistrantContact(Boolean privacyProtectRegistrantContact) {
         this. = privacyProtectRegistrantContact;
         return this;
     }

    
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

 
         return ;
     }

    
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

 
     public Boolean isPrivacyProtectTechContact() {
         return ;
     }
    
    
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

 
     public void setPrivacyProtectTechContact(Boolean privacyProtectTechContact) {
         this. = 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
 
     public TransferDomainRequest withPrivacyProtectTechContact(Boolean privacyProtectTechContact) {
         this. = privacyProtectTechContact;
         return this;
     }

    
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

        return ;
    }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDomainName() != nullsb.append("DomainName: " + getDomainName() + ",");
        if (getIdnLangCode() != nullsb.append("IdnLangCode: " + getIdnLangCode() + ",");
        if (getDurationInYears() != nullsb.append("DurationInYears: " + getDurationInYears() + ",");
        if (getNameservers() != nullsb.append("Nameservers: " + getNameservers() + ",");
        if (getAuthCode() != nullsb.append("AuthCode: " + getAuthCode() + ",");
        if (isAutoRenew() != nullsb.append("AutoRenew: " + isAutoRenew() + ",");
        if (getAdminContact() != nullsb.append("AdminContact: " + getAdminContact() + ",");
        if (getRegistrantContact() != nullsb.append("RegistrantContact: " + getRegistrantContact() + ",");
        if (getTechContact() != nullsb.append("TechContact: " + getTechContact() + ",");
        if (isPrivacyProtectAdminContact() != nullsb.append("PrivacyProtectAdminContact: " + isPrivacyProtectAdminContact() + ",");
        if (isPrivacyProtectRegistrantContact() != nullsb.append("PrivacyProtectRegistrantContact: " + isPrivacyProtectRegistrantContact() + ",");
        if (isPrivacyProtectTechContact() != nullsb.append("PrivacyProtectTechContact: " + isPrivacyProtectTechContact() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); 
        hashCode = prime * hashCode + ((getIdnLangCode() == null) ? 0 : getIdnLangCode().hashCode()); 
        hashCode = prime * hashCode + ((getDurationInYears() == null) ? 0 : getDurationInYears().hashCode()); 
        hashCode = prime * hashCode + ((getNameservers() == null) ? 0 : getNameservers().hashCode()); 
        hashCode = prime * hashCode + ((getAuthCode() == null) ? 0 : getAuthCode().hashCode()); 
        hashCode = prime * hashCode + ((isAutoRenew() == null) ? 0 : isAutoRenew().hashCode()); 
        hashCode = prime * hashCode + ((getAdminContact() == null) ? 0 : getAdminContact().hashCode()); 
        hashCode = prime * hashCode + ((getRegistrantContact() == null) ? 0 : getRegistrantContact().hashCode()); 
        hashCode = prime * hashCode + ((getTechContact() == null) ? 0 : getTechContact().hashCode()); 
        hashCode = prime * hashCode + ((isPrivacyProtectAdminContact() == null) ? 0 : isPrivacyProtectAdminContact().hashCode()); 
        hashCode = prime * hashCode + ((isPrivacyProtectRegistrantContact() == null) ? 0 : isPrivacyProtectRegistrantContact().hashCode()); 
        hashCode = prime * hashCode + ((isPrivacyProtectTechContact() == null) ? 0 : isPrivacyProtectTechContact().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof TransferDomainRequest == falsereturn false;
        TransferDomainRequest other = (TransferDomainRequest)obj;
        
        if (other.getDomainName() == null ^ this.getDomainName() == nullreturn false;
        if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == falsereturn false
        if (other.getIdnLangCode() == null ^ this.getIdnLangCode() == nullreturn false;
        if (other.getIdnLangCode() != null && other.getIdnLangCode().equals(this.getIdnLangCode()) == falsereturn false
        if (other.getDurationInYears() == null ^ this.getDurationInYears() == nullreturn false;
        if (other.getDurationInYears() != null && other.getDurationInYears().equals(this.getDurationInYears()) == falsereturn false
        if (other.getNameservers() == null ^ this.getNameservers() == nullreturn false;
        if (other.getNameservers() != null && other.getNameservers().equals(this.getNameservers()) == falsereturn false
        if (other.getAuthCode() == null ^ this.getAuthCode() == nullreturn false;
        if (other.getAuthCode() != null && other.getAuthCode().equals(this.getAuthCode()) == falsereturn false
        if (other.isAutoRenew() == null ^ this.isAutoRenew() == nullreturn false;
        if (other.isAutoRenew() != null && other.isAutoRenew().equals(this.isAutoRenew()) == falsereturn false
        if (other.getAdminContact() == null ^ this.getAdminContact() == nullreturn false;
        if (other.getAdminContact() != null && other.getAdminContact().equals(this.getAdminContact()) == falsereturn false
        if (other.getRegistrantContact() == null ^ this.getRegistrantContact() == nullreturn false;
        if (other.getRegistrantContact() != null && other.getRegistrantContact().equals(this.getRegistrantContact()) == falsereturn false
        if (other.getTechContact() == null ^ this.getTechContact() == nullreturn false;
        if (other.getTechContact() != null && other.getTechContact().equals(this.getTechContact()) == falsereturn false
        if (other.isPrivacyProtectAdminContact() == null ^ this.isPrivacyProtectAdminContact() == nullreturn false;
        if (other.isPrivacyProtectAdminContact() != null && other.isPrivacyProtectAdminContact().equals(this.isPrivacyProtectAdminContact()) == falsereturn false
        if (other.isPrivacyProtectRegistrantContact() == null ^ this.isPrivacyProtectRegistrantContact() == nullreturn false;
        if (other.isPrivacyProtectRegistrantContact() != null && other.isPrivacyProtectRegistrantContact().equals(this.isPrivacyProtectRegistrantContact()) == falsereturn false
        if (other.isPrivacyProtectTechContact() == null ^ this.isPrivacyProtectTechContact() == nullreturn false;
        if (other.isPrivacyProtectTechContact() != null && other.isPrivacyProtectTechContact().equals(this.isPrivacyProtectTechContact()) == falsereturn false
        return true;
    }
    
    @Override
    public TransferDomainRequest clone() {
        
            return (TransferDomainRequestsuper.clone();
    }
}
    
New to GrepCode? Check out our FAQ X