All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.route53domains.model.GetDomainDetailResult Maven / Gradle / Ivy

Go to download

The AWS SDK for Java with support for OSGi. The AWS SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).

There is a newer version: 1.11.60
Show newest version
/*
 * Copyright 2011-2016 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;

import java.io.Serializable;

/**
 * 

* The GetDomainDetail response includes the following elements. *

*/ public class GetDomainDetailResult implements Serializable, Cloneable { /** *

* The name of a domain. *

*

* Type: String *

*/ private String domainName; /** *

* The name of the domain. *

*

* Type: String *

*/ private com.amazonaws.internal.SdkInternalList nameservers; /** *

* 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 *

*/ private String abuseContactEmail; /** *

* Phone number for reporting abuse. *

*

* Type: String *

*/ 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 *

*/ private com.amazonaws.internal.SdkInternalList statusList; /** *

* The name of a domain. *

*

* Type: String *

* * @param domainName * The name of a domain.

*

* Type: String */ public void setDomainName(String domainName) { this.domainName = domainName; } /** *

* The name of a domain. *

*

* Type: String *

* * @return The name of a domain.

*

* Type: String */ public String getDomainName() { return this.domainName; } /** *

* The name of a domain. *

*

* Type: String *

* * @param domainName * The name of a domain.

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withDomainName(String domainName) { setDomainName(domainName); return this; } /** *

* The name of the domain. *

*

* Type: String *

* * @return The name of the domain.

*

* Type: String */ public java.util.List getNameservers() { if (nameservers == null) { nameservers = new com.amazonaws.internal.SdkInternalList(); } return nameservers; } /** *

* The name of the domain. *

*

* Type: String *

* * @param nameservers * The name of the domain.

*

* Type: String */ public void setNameservers(java.util.Collection nameservers) { if (nameservers == null) { this.nameservers = null; return; } this.nameservers = new com.amazonaws.internal.SdkInternalList( nameservers); } /** *

* The name of the domain. *

*

* Type: String *

*

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

* * @param nameservers * The name of the domain.

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withNameservers(Nameserver... nameservers) { if (this.nameservers == null) { setNameservers(new com.amazonaws.internal.SdkInternalList( nameservers.length)); } for (Nameserver ele : nameservers) { this.nameservers.add(ele); } return this; } /** *

* The name of the domain. *

*

* Type: String *

* * @param nameservers * The name of the domain.

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withNameservers( java.util.Collection nameservers) { setNameservers(nameservers); return this; } /** *

* Specifies whether the domain registration is set to renew automatically. *

*

* Type: Boolean *

* * @param autoRenew * Specifies whether the domain registration is set to renew * automatically.

*

* Type: Boolean */ public void setAutoRenew(Boolean autoRenew) { this.autoRenew = autoRenew; } /** *

* Specifies whether the domain registration is set to renew automatically. *

*

* Type: Boolean *

* * @return Specifies whether the domain registration is set to renew * automatically.

*

* Type: Boolean */ public Boolean getAutoRenew() { return this.autoRenew; } /** *

* Specifies whether the domain registration is set to renew automatically. *

*

* Type: Boolean *

* * @param autoRenew * Specifies whether the domain registration is set to renew * automatically.

*

* Type: Boolean * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withAutoRenew(Boolean autoRenew) { setAutoRenew(autoRenew); return this; } /** *

* Specifies whether the domain registration is set to renew automatically. *

*

* Type: Boolean *

* * @return Specifies whether the domain registration is set to renew * automatically.

*

* Type: Boolean */ public Boolean isAutoRenew() { return this.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 *

* * @param 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 = 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 *

* * @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 */ public ContactDetail getAdminContact() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withAdminContact(ContactDetail adminContact) { setAdminContact(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 *

* * @param 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 = 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 *

* * @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 */ public ContactDetail getRegistrantContact() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withRegistrantContact( ContactDetail registrantContact) { setRegistrantContact(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 *

* * @param 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 = 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 *

* * @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 */ public ContactDetail getTechContact() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withTechContact(ContactDetail techContact) { setTechContact(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 *

* * @param 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 = 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 *

* * @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 */ public Boolean getAdminPrivacy() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withAdminPrivacy(Boolean adminPrivacy) { setAdminPrivacy(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 *

* * @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 */ public Boolean isAdminPrivacy() { return this.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 *

* * @param 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 = 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 *

* * @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 */ public Boolean getRegistrantPrivacy() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withRegistrantPrivacy(Boolean registrantPrivacy) { setRegistrantPrivacy(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 *

* * @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 */ public Boolean isRegistrantPrivacy() { return this.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 *

* * @param 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 = 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 *

* * @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 */ public Boolean getTechPrivacy() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withTechPrivacy(Boolean techPrivacy) { setTechPrivacy(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 *

* * @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 */ public Boolean isTechPrivacy() { return this.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 *

* * @param 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 = 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 *

* * @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 */ public String getRegistrarName() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withRegistrarName(String registrarName) { setRegistrarName(registrarName); return this; } /** *

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

*

* Type: String *

* * @param 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 = whoIsServer; } /** *

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

*

* Type: String *

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

*

* Type: String */ public String getWhoIsServer() { return this.whoIsServer; } /** *

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

*

* Type: String *

* * @param whoIsServer * The fully qualified name of the WHOIS server that can answer the * WHOIS query for the domain.

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withWhoIsServer(String whoIsServer) { setWhoIsServer(whoIsServer); return this; } /** *

* Web address of the registrar. *

*

* Type: String *

* * @param registrarUrl * Web address of the registrar.

*

* Type: String */ public void setRegistrarUrl(String registrarUrl) { this.registrarUrl = registrarUrl; } /** *

* Web address of the registrar. *

*

* Type: String *

* * @return Web address of the registrar.

*

* Type: String */ public String getRegistrarUrl() { return this.registrarUrl; } /** *

* Web address of the registrar. *

*

* Type: String *

* * @param registrarUrl * Web address of the registrar.

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withRegistrarUrl(String registrarUrl) { setRegistrarUrl(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 *

* * @param 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 = 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 *

* * @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 */ public String getAbuseContactEmail() { return 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withAbuseContactEmail(String abuseContactEmail) { setAbuseContactEmail(abuseContactEmail); return this; } /** *

* Phone number for reporting abuse. *

*

* Type: String *

* * @param abuseContactPhone * Phone number for reporting abuse.

*

* Type: String */ public void setAbuseContactPhone(String abuseContactPhone) { this.abuseContactPhone = abuseContactPhone; } /** *

* Phone number for reporting abuse. *

*

* Type: String *

* * @return Phone number for reporting abuse.

*

* Type: String */ public String getAbuseContactPhone() { return this.abuseContactPhone; } /** *

* Phone number for reporting abuse. *

*

* Type: String *

* * @param abuseContactPhone * Phone number for reporting abuse.

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withAbuseContactPhone(String abuseContactPhone) { setAbuseContactPhone(abuseContactPhone); return this; } /** *

* Reserved for future use. *

* * @param registryDomainId * Reserved for future use. */ public void setRegistryDomainId(String registryDomainId) { this.registryDomainId = registryDomainId; } /** *

* Reserved for future use. *

* * @return Reserved for future use. */ public String getRegistryDomainId() { return this.registryDomainId; } /** *

* Reserved for future use. *

* * @param registryDomainId * Reserved for future use. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withRegistryDomainId(String registryDomainId) { setRegistryDomainId(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. *

* * @param 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 = creationDate; } /** *

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

* * @return 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 this.creationDate; } /** *

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

* * @param creationDate * The date when the domain was created as found in the response to a * WHOIS query. The date format is Unix time. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withCreationDate(java.util.Date creationDate) { setCreationDate(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. *

* * @param 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 = updatedDate; } /** *

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

* * @return 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 this.updatedDate; } /** *

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

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

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

* * @param 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 = expirationDate; } /** *

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

* * @return The date when the registration for the domain is set to expire. * The date format is Unix time. */ public java.util.Date getExpirationDate() { return this.expirationDate; } /** *

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

* * @param expirationDate * The date when the registration for the domain is set to expire. * The date format is Unix time. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withExpirationDate( java.util.Date expirationDate) { setExpirationDate(expirationDate); return this; } /** *

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

*

* Type: String *

* * @param 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; } /** *

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

*

* Type: String *

* * @return 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 this.reseller; } /** *

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

*

* Type: String *

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

*

* Type: String * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withReseller(String reseller) { setReseller(reseller); return this; } /** *

* Reserved for future use. *

* * @param dnsSec * Reserved for future use. */ public void setDnsSec(String dnsSec) { this.dnsSec = dnsSec; } /** *

* Reserved for future use. *

* * @return Reserved for future use. */ public String getDnsSec() { return this.dnsSec; } /** *

* Reserved for future use. *

* * @param dnsSec * Reserved for future use. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withDnsSec(String dnsSec) { setDnsSec(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 *

* * @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 */ public java.util.List getStatusList() { if (statusList == null) { statusList = new com.amazonaws.internal.SdkInternalList(); } return 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 *

* * @param 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 statusList) { if (statusList == null) { this.statusList = null; return; } this.statusList = new com.amazonaws.internal.SdkInternalList( 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 *

*

* NOTE: This method appends the values to the existing list (if * any). Use {@link #setStatusList(java.util.Collection)} or * {@link #withStatusList(java.util.Collection)} if you want to override the * existing values. *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withStatusList(String... statusList) { if (this.statusList == null) { setStatusList(new com.amazonaws.internal.SdkInternalList( statusList.length)); } for (String ele : statusList) { this.statusList.add(ele); } 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 *

* * @param 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 * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDomainDetailResult withStatusList( java.util.Collection statusList) { setStatusList(statusList); return this; } /** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDomainName() != null) sb.append("DomainName: " + getDomainName() + ","); if (getNameservers() != null) sb.append("Nameservers: " + getNameservers() + ","); if (getAutoRenew() != null) sb.append("AutoRenew: " + getAutoRenew() + ","); if (getAdminContact() != null) sb.append("AdminContact: " + getAdminContact() + ","); if (getRegistrantContact() != null) sb.append("RegistrantContact: " + getRegistrantContact() + ","); if (getTechContact() != null) sb.append("TechContact: " + getTechContact() + ","); if (getAdminPrivacy() != null) sb.append("AdminPrivacy: " + getAdminPrivacy() + ","); if (getRegistrantPrivacy() != null) sb.append("RegistrantPrivacy: " + getRegistrantPrivacy() + ","); if (getTechPrivacy() != null) sb.append("TechPrivacy: " + getTechPrivacy() + ","); if (getRegistrarName() != null) sb.append("RegistrarName: " + getRegistrarName() + ","); if (getWhoIsServer() != null) sb.append("WhoIsServer: " + getWhoIsServer() + ","); if (getRegistrarUrl() != null) sb.append("RegistrarUrl: " + getRegistrarUrl() + ","); if (getAbuseContactEmail() != null) sb.append("AbuseContactEmail: " + getAbuseContactEmail() + ","); if (getAbuseContactPhone() != null) sb.append("AbuseContactPhone: " + getAbuseContactPhone() + ","); if (getRegistryDomainId() != null) sb.append("RegistryDomainId: " + getRegistryDomainId() + ","); if (getCreationDate() != null) sb.append("CreationDate: " + getCreationDate() + ","); if (getUpdatedDate() != null) sb.append("UpdatedDate: " + getUpdatedDate() + ","); if (getExpirationDate() != null) sb.append("ExpirationDate: " + getExpirationDate() + ","); if (getReseller() != null) sb.append("Reseller: " + getReseller() + ","); if (getDnsSec() != null) sb.append("DnsSec: " + getDnsSec() + ","); if (getStatusList() != null) sb.append("StatusList: " + getStatusList()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetDomainDetailResult == false) return false; GetDomainDetailResult other = (GetDomainDetailResult) obj; if (other.getDomainName() == null ^ this.getDomainName() == null) return false; if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false) return false; if (other.getNameservers() == null ^ this.getNameservers() == null) return false; if (other.getNameservers() != null && other.getNameservers().equals(this.getNameservers()) == false) return false; if (other.getAutoRenew() == null ^ this.getAutoRenew() == null) return false; if (other.getAutoRenew() != null && other.getAutoRenew().equals(this.getAutoRenew()) == false) return false; if (other.getAdminContact() == null ^ this.getAdminContact() == null) return false; if (other.getAdminContact() != null && other.getAdminContact().equals(this.getAdminContact()) == false) return false; if (other.getRegistrantContact() == null ^ this.getRegistrantContact() == null) return false; if (other.getRegistrantContact() != null && other.getRegistrantContact().equals( this.getRegistrantContact()) == false) return false; if (other.getTechContact() == null ^ this.getTechContact() == null) return false; if (other.getTechContact() != null && other.getTechContact().equals(this.getTechContact()) == false) return false; if (other.getAdminPrivacy() == null ^ this.getAdminPrivacy() == null) return false; if (other.getAdminPrivacy() != null && other.getAdminPrivacy().equals(this.getAdminPrivacy()) == false) return false; if (other.getRegistrantPrivacy() == null ^ this.getRegistrantPrivacy() == null) return false; if (other.getRegistrantPrivacy() != null && other.getRegistrantPrivacy().equals( this.getRegistrantPrivacy()) == false) return false; if (other.getTechPrivacy() == null ^ this.getTechPrivacy() == null) return false; if (other.getTechPrivacy() != null && other.getTechPrivacy().equals(this.getTechPrivacy()) == false) return false; if (other.getRegistrarName() == null ^ this.getRegistrarName() == null) return false; if (other.getRegistrarName() != null && other.getRegistrarName().equals(this.getRegistrarName()) == false) return false; if (other.getWhoIsServer() == null ^ this.getWhoIsServer() == null) return false; if (other.getWhoIsServer() != null && other.getWhoIsServer().equals(this.getWhoIsServer()) == false) return false; if (other.getRegistrarUrl() == null ^ this.getRegistrarUrl() == null) return false; if (other.getRegistrarUrl() != null && other.getRegistrarUrl().equals(this.getRegistrarUrl()) == false) return false; if (other.getAbuseContactEmail() == null ^ this.getAbuseContactEmail() == null) return false; if (other.getAbuseContactEmail() != null && other.getAbuseContactEmail().equals( this.getAbuseContactEmail()) == false) return false; if (other.getAbuseContactPhone() == null ^ this.getAbuseContactPhone() == null) return false; if (other.getAbuseContactPhone() != null && other.getAbuseContactPhone().equals( this.getAbuseContactPhone()) == false) return false; if (other.getRegistryDomainId() == null ^ this.getRegistryDomainId() == null) return false; if (other.getRegistryDomainId() != null && other.getRegistryDomainId().equals( this.getRegistryDomainId()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getUpdatedDate() == null ^ this.getUpdatedDate() == null) return false; if (other.getUpdatedDate() != null && other.getUpdatedDate().equals(this.getUpdatedDate()) == false) return false; if (other.getExpirationDate() == null ^ this.getExpirationDate() == null) return false; if (other.getExpirationDate() != null && other.getExpirationDate().equals(this.getExpirationDate()) == false) return false; if (other.getReseller() == null ^ this.getReseller() == null) return false; if (other.getReseller() != null && other.getReseller().equals(this.getReseller()) == false) return false; if (other.getDnsSec() == null ^ this.getDnsSec() == null) return false; if (other.getDnsSec() != null && other.getDnsSec().equals(this.getDnsSec()) == false) return false; if (other.getStatusList() == null ^ this.getStatusList() == null) return false; if (other.getStatusList() != null && other.getStatusList().equals(this.getStatusList()) == false) return false; return true; } @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 + ((getAutoRenew() == null) ? 0 : getAutoRenew().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 + ((getAdminPrivacy() == null) ? 0 : getAdminPrivacy() .hashCode()); hashCode = prime * hashCode + ((getRegistrantPrivacy() == null) ? 0 : getRegistrantPrivacy().hashCode()); hashCode = prime * hashCode + ((getTechPrivacy() == null) ? 0 : getTechPrivacy().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 GetDomainDetailResult clone() { try { return (GetDomainDetailResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException( "Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy