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;
  

The GetDomainDetail response includes the following elements.

  
  public class GetDomainDetailResult implements SerializableCloneable {

    
The name of a domain.

Type: String

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

  
      private String domainName;

    
The name of the domain.

Type: String

  
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

  
      private Boolean autoRenew;

    
Provides details about the domain administrative contact.

Type: Complex

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

  
      private ContactDetail adminContact;

    
Provides details about the domain registrant.

Type: Complex

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

  
      private ContactDetail registrantContact;

    
Provides details about the domain technical contact.

Type: Complex

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

  
      private ContactDetail techContact;

    
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

  
      private Boolean adminPrivacy;

    
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

  
      private Boolean registrantPrivacy;

    
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     private Boolean techPrivacy;

    
Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

 
     private String registrarName;

    
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

 
     private String whoIsServer;

    
Web address of the registrar.

Type: String

 
     private String registrarUrl;

    
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

Constraints:
Length: 0 - 254

 
     private String abuseContactEmail;

    
Phone number for reporting abuse.

Type: String

Constraints:
Length: 0 - 30

 
     private String abuseContactPhone;

    
Reserved for future use.
 
     private String registryDomainId;

    
The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.
 
     private java.util.Date creationDate;

    
The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.
 
     private java.util.Date updatedDate;

    
The date when the registration for the domain is set to expire. The date format is Unix time.
 
     private java.util.Date expirationDate;

    
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

 
     private String reseller;

    
Reserved for future use.
 
     private String dnsSec;

    
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

 
The name of a domain.

Type: String

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

Returns:
The name of a domain.

Type: String

 
     public String getDomainName() {
         return ;
     }
    
    
The name of a domain.

Type: String

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

Parameters:
domainName The name of a domain.

Type: String

 
     public void setDomainName(String domainName) {
         this. = domainName;
     }
    
    
The name of a domain.

Type: String

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

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

    
The name of the domain.

Type: String

Returns:
The name of the domain.

Type: String

 
     public java.util.List<NameservergetNameservers() {
         if ( == null) {
                = new com.amazonaws.internal.ListWithAutoConstructFlag<Nameserver>();
               .setAutoConstruct(true);
         }
         return ;
     }
    
    
The name of the domain.

Type: String

Parameters:
nameservers The name of the domain.

Type: String

 
     public void setNameservers(java.util.Collection<Nameservernameservers) {
         if (nameservers == null) {
             this. = null;
             return;
         }
         nameserversCopy.addAll(nameservers);
         this. = nameserversCopy;
     }
    
    
The name of the domain.

Type: String

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 The name of the domain.

Type: String

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withNameservers(Nameserver... nameservers) {
         if (getNameservers() == nullsetNameservers(new java.util.ArrayList<Nameserver>(nameservers.length));
         for (Nameserver value : nameservers) {
             getNameservers().add(value);
         }
         return this;
     }
    
    
The name of the domain.

Type: String

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

Parameters:
nameservers The name of the domain.

Type: String

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

    
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

Returns:
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

 
     public Boolean isAutoRenew() {
         return ;
     }
    
    
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

Parameters:
autoRenew Specifies whether the domain registration is set to renew automatically.

Type: Boolean

 
     public void setAutoRenew(Boolean autoRenew) {
         this. = autoRenew;
     }
    
    
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

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

Parameters:
autoRenew Specifies whether the domain registration is set to renew automatically.

Type: Boolean

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withAutoRenew(Boolean autoRenew) {
         this. = autoRenew;
         return this;
     }

    
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

Returns:
Specifies whether the domain registration is set to renew automatically.

Type: Boolean

 
     public Boolean getAutoRenew() {
         return ;
     }

    
Provides details about the domain administrative contact.

Type: Complex

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

Returns:
Provides details about the domain administrative contact.

Type: Complex

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

 
     public ContactDetail getAdminContact() {
         return ;
     }
    
    
Provides details about the domain administrative contact.

Type: Complex

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

Parameters:
adminContact Provides details about the domain administrative contact.

Type: Complex

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

 
     public void setAdminContact(ContactDetail adminContact) {
         this. = adminContact;
     }
    
    
Provides details about the domain administrative contact.

Type: Complex

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

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

Parameters:
adminContact Provides details about the domain administrative contact.

Type: Complex

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

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withAdminContact(ContactDetail adminContact) {
         this. = adminContact;
         return this;
     }

    
Provides details about the domain registrant.

Type: Complex

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

Returns:
Provides details about the domain registrant.

Type: Complex

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

 
     public ContactDetail getRegistrantContact() {
         return ;
     }
    
    
Provides details about the domain registrant.

Type: Complex

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

Parameters:
registrantContact Provides details about the domain registrant.

Type: Complex

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

 
     public void setRegistrantContact(ContactDetail registrantContact) {
         this. = registrantContact;
     }
    
    
Provides details about the domain registrant.

Type: Complex

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

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

Parameters:
registrantContact Provides details about the domain registrant.

Type: Complex

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

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withRegistrantContact(ContactDetail registrantContact) {
         this. = registrantContact;
         return this;
     }

    
Provides details about the domain technical contact.

Type: Complex

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

Returns:
Provides details about the domain technical contact.

Type: Complex

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

 
     public ContactDetail getTechContact() {
         return ;
     }
    
    
Provides details about the domain technical contact.

Type: Complex

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

Parameters:
techContact Provides details about the domain technical contact.

Type: Complex

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

 
     public void setTechContact(ContactDetail techContact) {
         this. = techContact;
     }
    
    
Provides details about the domain technical contact.

Type: Complex

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

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

Parameters:
techContact Provides details about the domain technical contact.

Type: Complex

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

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withTechContact(ContactDetail techContact) {
         this. = techContact;
         return this;
     }

    
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public Boolean isAdminPrivacy() {
         return ;
     }
    
    
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Parameters:
adminPrivacy Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public void setAdminPrivacy(Boolean adminPrivacy) {
         this. = adminPrivacy;
     }
    
    
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

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

Parameters:
adminPrivacy Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withAdminPrivacy(Boolean adminPrivacy) {
         this. = adminPrivacy;
         return this;
     }

    
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public Boolean getAdminPrivacy() {
         return ;
     }

    
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public Boolean isRegistrantPrivacy() {
         return ;
     }
    
    
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Parameters:
registrantPrivacy Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public void setRegistrantPrivacy(Boolean registrantPrivacy) {
         this. = registrantPrivacy;
     }
    
    
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

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

Parameters:
registrantPrivacy Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withRegistrantPrivacy(Boolean registrantPrivacy) {
         this. = registrantPrivacy;
         return this;
     }

    
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public Boolean getRegistrantPrivacy() {
         return ;
     }

    
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public Boolean isTechPrivacy() {
         return ;
     }
    
    
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Parameters:
techPrivacy Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public void setTechPrivacy(Boolean techPrivacy) {
         this. = techPrivacy;
     }
    
    
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

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

Parameters:
techPrivacy Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public GetDomainDetailResult withTechPrivacy(Boolean techPrivacy) {
         this. = techPrivacy;
         return this;
     }

    
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

Returns:
Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Type: Boolean

 
     public Boolean getTechPrivacy() {
         return ;
     }

    
Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

Returns:
Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

 
     public String getRegistrarName() {
         return ;
     }
    
    
Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

Parameters:
registrarName Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

 
     public void setRegistrarName(String registrarName) {
         this. = registrarName;
     }
    
    
Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

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

Parameters:
registrarName Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".

Type: String

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

    
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

Returns:
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

 
     public String getWhoIsServer() {
         return ;
     }
    
    
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

Parameters:
whoIsServer The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

 
     public void setWhoIsServer(String whoIsServer) {
         this. = whoIsServer;
     }
    
    
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

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

Parameters:
whoIsServer The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.

Type: String

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

    
Web address of the registrar.

Type: String

Returns:
Web address of the registrar.

Type: String

 
     public String getRegistrarUrl() {
         return ;
     }
    
    
Web address of the registrar.

Type: String

Parameters:
registrarUrl Web address of the registrar.

Type: String

 
     public void setRegistrarUrl(String registrarUrl) {
         this. = registrarUrl;
     }
    
    
Web address of the registrar.

Type: String

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

Parameters:
registrarUrl Web address of the registrar.

Type: String

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

    
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

Constraints:
Length: 0 - 254

Returns:
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

 
     public String getAbuseContactEmail() {
         return ;
     }
    
    
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

Constraints:
Length: 0 - 254

Parameters:
abuseContactEmail Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

 
     public void setAbuseContactEmail(String abuseContactEmail) {
         this. = abuseContactEmail;
     }
    
    
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

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

Constraints:
Length: 0 - 254

Parameters:
abuseContactEmail Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.

Type: String

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

    
Phone number for reporting abuse.

Type: String

Constraints:
Length: 0 - 30

Returns:
Phone number for reporting abuse.

Type: String

 
     public String getAbuseContactPhone() {
         return ;
    }
    
    
Phone number for reporting abuse.

Type: String

Constraints:
Length: 0 - 30

Parameters:
abuseContactPhone Phone number for reporting abuse.

Type: String

    public void setAbuseContactPhone(String abuseContactPhone) {
        this. = abuseContactPhone;
    }
    
    
Phone number for reporting abuse.

Type: String

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

Constraints:
Length: 0 - 30

Parameters:
abuseContactPhone Phone number for reporting abuse.

Type: String

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

    
Reserved for future use.

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

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

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

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

    
The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.

Returns:
The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.
    public java.util.Date getCreationDate() {
        return ;
    }
    
    
The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.

Parameters:
creationDate The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.
    public void setCreationDate(java.util.Date creationDate) {
        this. = creationDate;
    }
    
    
The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.

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

Parameters:
creationDate The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetDomainDetailResult withCreationDate(java.util.Date creationDate) {
        this. = creationDate;
        return this;
    }

    
The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.

Returns:
The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.
    public java.util.Date getUpdatedDate() {
        return ;
    }
    
    
The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.

Parameters:
updatedDate The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.
    public void setUpdatedDate(java.util.Date updatedDate) {
        this. = updatedDate;
    }
    
    
The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.

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

Parameters:
updatedDate The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetDomainDetailResult withUpdatedDate(java.util.Date updatedDate) {
        this. = updatedDate;
        return this;
    }

    
The date when the registration for the domain is set to expire. The date format is Unix time.

Returns:
The date when the registration for the domain is set to expire. The date format is Unix time.
    public java.util.Date getExpirationDate() {
        return ;
    }
    
    
The date when the registration for the domain is set to expire. The date format is Unix time.

Parameters:
expirationDate The date when the registration for the domain is set to expire. The date format is Unix time.
    public void setExpirationDate(java.util.Date expirationDate) {
        this. = expirationDate;
    }
    
    
The date when the registration for the domain is set to expire. The date format is Unix time.

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

Parameters:
expirationDate The date when the registration for the domain is set to expire. The date format is Unix time.
Returns:
A reference to this updated object so that method calls can be chained together.
    public GetDomainDetailResult withExpirationDate(java.util.Date expirationDate) {
        this. = expirationDate;
        return this;
    }

    
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

Returns:
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

    public String getReseller() {
        return ;
    }
    
    
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

Parameters:
reseller Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

    public void setReseller(String reseller) {
        this. = reseller;
    }
    
    
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

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

Parameters:
reseller Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.

Type: String

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

    
Reserved for future use.

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

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

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

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

    
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

Returns:
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

    public java.util.List<StringgetStatusList() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<String>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

Parameters:
statusList An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

    public void setStatusList(java.util.Collection<StringstatusList) {
        if (statusList == null) {
            this. = null;
            return;
        }
        statusListCopy.addAll(statusList);
        this. = statusListCopy;
    }
    
    
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

NOTE: This method appends the values to the existing list (if any). Use setStatusList(java.util.Collection) or withStatusList(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:
statusList An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

Returns:
A reference to this updated object so that method calls can be chained together.
    public GetDomainDetailResult withStatusList(String... statusList) {
        if (getStatusList() == nullsetStatusList(new java.util.ArrayList<String>(statusList.length));
        for (String value : statusList) {
            getStatusList().add(value);
        }
        return this;
    }
    
    
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

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

Parameters:
statusList An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.

ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.

For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.)

Type: Array of String

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

    
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 (getNameservers() != nullsb.append("Nameservers: " + getNameservers() + ",");
        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 (isAdminPrivacy() != nullsb.append("AdminPrivacy: " + isAdminPrivacy() + ",");
        if (isRegistrantPrivacy() != nullsb.append("RegistrantPrivacy: " + isRegistrantPrivacy() + ",");
        if (isTechPrivacy() != nullsb.append("TechPrivacy: " + isTechPrivacy() + ",");
        if (getRegistrarName() != nullsb.append("RegistrarName: " + getRegistrarName() + ",");
        if (getWhoIsServer() != nullsb.append("WhoIsServer: " + getWhoIsServer() + ",");
        if (getRegistrarUrl() != nullsb.append("RegistrarUrl: " + getRegistrarUrl() + ",");
        if (getAbuseContactEmail() != nullsb.append("AbuseContactEmail: " + getAbuseContactEmail() + ",");
        if (getAbuseContactPhone() != nullsb.append("AbuseContactPhone: " + getAbuseContactPhone() + ",");
        if (getRegistryDomainId() != nullsb.append("RegistryDomainId: " + getRegistryDomainId() + ",");
        if (getCreationDate() != nullsb.append("CreationDate: " + getCreationDate() + ",");
        if (getUpdatedDate() != nullsb.append("UpdatedDate: " + getUpdatedDate() + ",");
        if (getExpirationDate() != nullsb.append("ExpirationDate: " + getExpirationDate() + ",");
        if (getReseller() != nullsb.append("Reseller: " + getReseller() + ",");
        if (getDnsSec() != nullsb.append("DnsSec: " + getDnsSec() + ",");
        if (getStatusList() != nullsb.append("StatusList: " + getStatusList() );
        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 + ((getNameservers() == null) ? 0 : getNameservers().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 + ((isAdminPrivacy() == null) ? 0 : isAdminPrivacy().hashCode()); 
        hashCode = prime * hashCode + ((isRegistrantPrivacy() == null) ? 0 : isRegistrantPrivacy().hashCode()); 
        hashCode = prime * hashCode + ((isTechPrivacy() == null) ? 0 : isTechPrivacy().hashCode()); 
        hashCode = prime * hashCode + ((getRegistrarName() == null) ? 0 : getRegistrarName().hashCode()); 
        hashCode = prime * hashCode + ((getWhoIsServer() == null) ? 0 : getWhoIsServer().hashCode()); 
        hashCode = prime * hashCode + ((getRegistrarUrl() == null) ? 0 : getRegistrarUrl().hashCode()); 
        hashCode = prime * hashCode + ((getAbuseContactEmail() == null) ? 0 : getAbuseContactEmail().hashCode()); 
        hashCode = prime * hashCode + ((getAbuseContactPhone() == null) ? 0 : getAbuseContactPhone().hashCode()); 
        hashCode = prime * hashCode + ((getRegistryDomainId() == null) ? 0 : getRegistryDomainId().hashCode()); 
        hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); 
        hashCode = prime * hashCode + ((getUpdatedDate() == null) ? 0 : getUpdatedDate().hashCode()); 
        hashCode = prime * hashCode + ((getExpirationDate() == null) ? 0 : getExpirationDate().hashCode()); 
        hashCode = prime * hashCode + ((getReseller() == null) ? 0 : getReseller().hashCode()); 
        hashCode = prime * hashCode + ((getDnsSec() == null) ? 0 : getDnsSec().hashCode()); 
        hashCode = prime * hashCode + ((getStatusList() == null) ? 0 : getStatusList().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof GetDomainDetailResult == falsereturn false;
        GetDomainDetailResult other = (GetDomainDetailResult)obj;
        
        if (other.getDomainName() == null ^ this.getDomainName() == nullreturn false;
        if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == falsereturn false
        if (other.getNameservers() == null ^ this.getNameservers() == nullreturn false;
        if (other.getNameservers() != null && other.getNameservers().equals(this.getNameservers()) == 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.isAdminPrivacy() == null ^ this.isAdminPrivacy() == nullreturn false;
        if (other.isAdminPrivacy() != null && other.isAdminPrivacy().equals(this.isAdminPrivacy()) == falsereturn false
        if (other.isRegistrantPrivacy() == null ^ this.isRegistrantPrivacy() == nullreturn false;
        if (other.isRegistrantPrivacy() != null && other.isRegistrantPrivacy().equals(this.isRegistrantPrivacy()) == falsereturn false
        if (other.isTechPrivacy() == null ^ this.isTechPrivacy() == nullreturn false;
        if (other.isTechPrivacy() != null && other.isTechPrivacy().equals(this.isTechPrivacy()) == falsereturn false
        if (other.getRegistrarName() == null ^ this.getRegistrarName() == nullreturn false;
        if (other.getRegistrarName() != null && other.getRegistrarName().equals(this.getRegistrarName()) == falsereturn false
        if (other.getWhoIsServer() == null ^ this.getWhoIsServer() == nullreturn false;
        if (other.getWhoIsServer() != null && other.getWhoIsServer().equals(this.getWhoIsServer()) == falsereturn false
        if (other.getRegistrarUrl() == null ^ this.getRegistrarUrl() == nullreturn false;
        if (other.getRegistrarUrl() != null && other.getRegistrarUrl().equals(this.getRegistrarUrl()) == falsereturn false
        if (other.getAbuseContactEmail() == null ^ this.getAbuseContactEmail() == nullreturn false;
        if (other.getAbuseContactEmail() != null && other.getAbuseContactEmail().equals(this.getAbuseContactEmail()) == falsereturn false
        if (other.getAbuseContactPhone() == null ^ this.getAbuseContactPhone() == nullreturn false;
        if (other.getAbuseContactPhone() != null && other.getAbuseContactPhone().equals(this.getAbuseContactPhone()) == falsereturn false
        if (other.getRegistryDomainId() == null ^ this.getRegistryDomainId() == nullreturn false;
        if (other.getRegistryDomainId() != null && other.getRegistryDomainId().equals(this.getRegistryDomainId()) == falsereturn false
        if (other.getCreationDate() == null ^ this.getCreationDate() == nullreturn false;
        if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == falsereturn false
        if (other.getUpdatedDate() == null ^ this.getUpdatedDate() == nullreturn false;
        if (other.getUpdatedDate() != null && other.getUpdatedDate().equals(this.getUpdatedDate()) == falsereturn false
        if (other.getExpirationDate() == null ^ this.getExpirationDate() == nullreturn false;
        if (other.getExpirationDate() != null && other.getExpirationDate().equals(this.getExpirationDate()) == falsereturn false
        if (other.getReseller() == null ^ this.getReseller() == nullreturn false;
        if (other.getReseller() != null && other.getReseller().equals(this.getReseller()) == falsereturn false
        if (other.getDnsSec() == null ^ this.getDnsSec() == nullreturn false;
        if (other.getDnsSec() != null && other.getDnsSec().equals(this.getDnsSec()) == falsereturn false
        if (other.getStatusList() == null ^ this.getStatusList() == nullreturn false;
        if (other.getStatusList() != null && other.getStatusList().equals(this.getStatusList()) == falsereturn false
        return true;
    }
    
    @Override
    public GetDomainDetailResult clone() {
        try {
            return (GetDomainDetailResultsuper.clone();
        
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException(
                    "Got a CloneNotSupportedException from Object.clone() "
                    + "even though we're Cloneable!",
                    e);
        }
        
    }
}
    
New to GrepCode? Check out our FAQ X