public class ContactDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
ContactDetail includes the following elements.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
addressLine1
First line of the contact's address.
|
private java.lang.String |
addressLine2
Second line of contact's address, if any.
|
private java.lang.String |
city
The city of the contact's address.
|
private java.lang.String |
contactType
Indicates whether the contact is a person, company, association, or
public organization.
|
private java.lang.String |
countryCode
Code for the country of the contact's address.
|
private java.lang.String |
email
Email address of the contact.
|
private SdkInternalList<ExtraParam> |
extraParams
A list of name-value pairs for parameters required by certain top-level
domains.
|
private java.lang.String |
fax
Fax number of the contact.
|
private java.lang.String |
firstName
First name of contact.
|
private java.lang.String |
lastName
Last name of contact.
|
private java.lang.String |
organizationName
Name of the organization for contact types other than
PERSON
. |
private java.lang.String |
phoneNumber
The phone number of the contact.
|
private java.lang.String |
state
The state or province of the contact's city.
|
private java.lang.String |
zipCode
The zip or postal code of the contact's address.
|
Constructor and Description |
---|
ContactDetail() |
Modifier and Type | Method and Description |
---|---|
ContactDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddressLine1()
First line of the contact's address.
|
java.lang.String |
getAddressLine2()
Second line of contact's address, if any.
|
java.lang.String |
getCity()
The city of the contact's address.
|
java.lang.String |
getContactType()
Indicates whether the contact is a person, company, association, or
public organization.
|
java.lang.String |
getCountryCode()
Code for the country of the contact's address.
|
java.lang.String |
getEmail()
Email address of the contact.
|
java.util.List<ExtraParam> |
getExtraParams()
A list of name-value pairs for parameters required by certain top-level
domains.
|
java.lang.String |
getFax()
Fax number of the contact.
|
java.lang.String |
getFirstName()
First name of contact.
|
java.lang.String |
getLastName()
Last name of contact.
|
java.lang.String |
getOrganizationName()
Name of the organization for contact types other than
PERSON
. |
java.lang.String |
getPhoneNumber()
The phone number of the contact.
|
java.lang.String |
getState()
The state or province of the contact's city.
|
java.lang.String |
getZipCode()
The zip or postal code of the contact's address.
|
int |
hashCode() |
void |
setAddressLine1(java.lang.String addressLine1)
First line of the contact's address.
|
void |
setAddressLine2(java.lang.String addressLine2)
Second line of contact's address, if any.
|
void |
setCity(java.lang.String city)
The city of the contact's address.
|
void |
setContactType(ContactType contactType)
Indicates whether the contact is a person, company, association, or
public organization.
|
void |
setContactType(java.lang.String contactType)
Indicates whether the contact is a person, company, association, or
public organization.
|
void |
setCountryCode(CountryCode countryCode)
Code for the country of the contact's address.
|
void |
setCountryCode(java.lang.String countryCode)
Code for the country of the contact's address.
|
void |
setEmail(java.lang.String email)
Email address of the contact.
|
void |
setExtraParams(java.util.Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level
domains.
|
void |
setFax(java.lang.String fax)
Fax number of the contact.
|
void |
setFirstName(java.lang.String firstName)
First name of contact.
|
void |
setLastName(java.lang.String lastName)
Last name of contact.
|
void |
setOrganizationName(java.lang.String organizationName)
Name of the organization for contact types other than
PERSON
. |
void |
setPhoneNumber(java.lang.String phoneNumber)
The phone number of the contact.
|
void |
setState(java.lang.String state)
The state or province of the contact's city.
|
void |
setZipCode(java.lang.String zipCode)
The zip or postal code of the contact's address.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ContactDetail |
withAddressLine1(java.lang.String addressLine1)
First line of the contact's address.
|
ContactDetail |
withAddressLine2(java.lang.String addressLine2)
Second line of contact's address, if any.
|
ContactDetail |
withCity(java.lang.String city)
The city of the contact's address.
|
ContactDetail |
withContactType(ContactType contactType)
Indicates whether the contact is a person, company, association, or
public organization.
|
ContactDetail |
withContactType(java.lang.String contactType)
Indicates whether the contact is a person, company, association, or
public organization.
|
ContactDetail |
withCountryCode(CountryCode countryCode)
Code for the country of the contact's address.
|
ContactDetail |
withCountryCode(java.lang.String countryCode)
Code for the country of the contact's address.
|
ContactDetail |
withEmail(java.lang.String email)
Email address of the contact.
|
ContactDetail |
withExtraParams(java.util.Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level
domains.
|
ContactDetail |
withExtraParams(ExtraParam... extraParams)
A list of name-value pairs for parameters required by certain top-level
domains.
|
ContactDetail |
withFax(java.lang.String fax)
Fax number of the contact.
|
ContactDetail |
withFirstName(java.lang.String firstName)
First name of contact.
|
ContactDetail |
withLastName(java.lang.String lastName)
Last name of contact.
|
ContactDetail |
withOrganizationName(java.lang.String organizationName)
Name of the organization for contact types other than
PERSON
. |
ContactDetail |
withPhoneNumber(java.lang.String phoneNumber)
The phone number of the contact.
|
ContactDetail |
withState(java.lang.String state)
The state or province of the contact's city.
|
ContactDetail |
withZipCode(java.lang.String zipCode)
The zip or postal code of the contact's address.
|
private java.lang.String firstName
First name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String lastName
Last name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String contactType
Indicates whether the contact is a person, company, association, or
public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String organizationName
Name of the organization for contact types other than PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
private java.lang.String addressLine1
First line of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String addressLine2
Second line of contact's address, if any.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
private java.lang.String city
The city of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String state
The state or province of the contact's city.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
private java.lang.String countryCode
Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String zipCode
The zip or postal code of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
private java.lang.String phoneNumber
The phone number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String email
Email address of the contact.
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
private java.lang.String fax
Fax number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
private SdkInternalList<ExtraParam> extraParams
A list of name-value pairs for parameters required by certain top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
,
TechContact
Children: Name
, Value
Required: No
public void setFirstName(java.lang.String firstName)
First name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
firstName
- First name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public java.lang.String getFirstName()
First name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
public ContactDetail withFirstName(java.lang.String firstName)
First name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
firstName
- First name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public void setLastName(java.lang.String lastName)
Last name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
lastName
- Last name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public java.lang.String getLastName()
Last name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
public ContactDetail withLastName(java.lang.String lastName)
Last name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
lastName
- Last name of contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public void setContactType(java.lang.String contactType)
Indicates whether the contact is a person, company, association, or
public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
contactType
- Indicates whether the contact is a person, company, association,
or public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
ContactType
public java.lang.String getContactType()
Indicates whether the contact is a person, company, association, or
public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
ContactType
public ContactDetail withContactType(java.lang.String contactType)
Indicates whether the contact is a person, company, association, or
public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
contactType
- Indicates whether the contact is a person, company, association,
or public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
ContactType
public void setContactType(ContactType contactType)
Indicates whether the contact is a person, company, association, or
public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
contactType
- Indicates whether the contact is a person, company, association,
or public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
ContactType
public ContactDetail withContactType(ContactType contactType)
Indicates whether the contact is a person, company, association, or
public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
contactType
- Indicates whether the contact is a person, company, association,
or public organization. If you choose an option other than
PERSON
, you must enter an organization name, and you
can't enable privacy protection for the contact.
Type: String
Default: None
Constraints: Maximum 255 characters.
Valid values: PERSON
| COMPANY
|
ASSOCIATION
| PUBLIC_BODY
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
ContactType
public void setOrganizationName(java.lang.String organizationName)
Name of the organization for contact types other than PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
organizationName
- Name of the organization for contact types other than
PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public java.lang.String getOrganizationName()
Name of the organization for contact types other than PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: No
public ContactDetail withOrganizationName(java.lang.String organizationName)
Name of the organization for contact types other than PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
organizationName
- Name of the organization for contact types other than
PERSON
.
Type: String
Default: None
Constraints: Maximum 255 characters. Contact type must not be
PERSON
.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public void setAddressLine1(java.lang.String addressLine1)
First line of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
addressLine1
- First line of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public java.lang.String getAddressLine1()
First line of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
public ContactDetail withAddressLine1(java.lang.String addressLine1)
First line of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
addressLine1
- First line of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public void setAddressLine2(java.lang.String addressLine2)
Second line of contact's address, if any.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
addressLine2
- Second line of contact's address, if any.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public java.lang.String getAddressLine2()
Second line of contact's address, if any.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: No
public ContactDetail withAddressLine2(java.lang.String addressLine2)
Second line of contact's address, if any.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
addressLine2
- Second line of contact's address, if any.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public void setCity(java.lang.String city)
The city of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
city
- The city of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public java.lang.String getCity()
The city of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
public ContactDetail withCity(java.lang.String city)
The city of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
city
- The city of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public void setState(java.lang.String state)
The state or province of the contact's city.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
state
- The state or province of the contact's city.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public java.lang.String getState()
The state or province of the contact's city.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: No
public ContactDetail withState(java.lang.String state)
The state or province of the contact's city.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
state
- The state or province of the contact's city.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public void setCountryCode(java.lang.String countryCode)
Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
countryCode
- Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
CountryCode
public java.lang.String getCountryCode()
Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
CountryCode
public ContactDetail withCountryCode(java.lang.String countryCode)
Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
countryCode
- Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
CountryCode
public void setCountryCode(CountryCode countryCode)
Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
countryCode
- Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
CountryCode
public ContactDetail withCountryCode(CountryCode countryCode)
Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
countryCode
- Code for the country of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
CountryCode
public void setZipCode(java.lang.String zipCode)
The zip or postal code of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
zipCode
- The zip or postal code of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public java.lang.String getZipCode()
The zip or postal code of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: No
public ContactDetail withZipCode(java.lang.String zipCode)
The zip or postal code of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
zipCode
- The zip or postal code of the contact's address.
Type: String
Default: None
Constraints: Maximum 255 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public void setPhoneNumber(java.lang.String phoneNumber)
The phone number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
phoneNumber
- The phone number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For
example, a US phone number might appear as
"+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public java.lang.String getPhoneNumber()
The phone number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For
example, a US phone number might appear as
"+1.1234567890"
.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
public ContactDetail withPhoneNumber(java.lang.String phoneNumber)
The phone number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
phoneNumber
- The phone number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code>]". For
example, a US phone number might appear as
"+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public void setEmail(java.lang.String email)
Email address of the contact.
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
email
- Email address of the contact.
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public java.lang.String getEmail()
Email address of the contact.
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: Yes
public ContactDetail withEmail(java.lang.String email)
Email address of the contact.
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: Yes
email
- Email address of the contact.
Type: String
Default: None
Constraints: Maximum 254 characters.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: Yes
public void setFax(java.lang.String fax)
Fax number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
fax
- Fax number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For
example, a US phone number might appear as
"+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public java.lang.String getFax()
Fax number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For
example, a US phone number might appear as
"+1.1234567890"
.
Parents: RegistrantContact
,
AdminContact
, TechContact
Required: No
public ContactDetail withFax(java.lang.String fax)
Fax number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For example,
a US phone number might appear as "+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
,
TechContact
Required: No
fax
- Fax number of the contact.
Type: String
Default: None
Constraints: Phone number must be specified in the format
"+[country dialing code].[number including any area code]". For
example, a US phone number might appear as
"+1.1234567890"
.
Parents: RegistrantContact
, AdminContact
, TechContact
Required: No
public java.util.List<ExtraParam> getExtraParams()
A list of name-value pairs for parameters required by certain top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
,
TechContact
Children: Name
, Value
Required: No
Type: Complex
Default: None
Parents: RegistrantContact
,
AdminContact
, TechContact
Children: Name
, Value
Required: No
public void setExtraParams(java.util.Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
,
TechContact
Children: Name
, Value
Required: No
extraParams
- A list of name-value pairs for parameters required by certain
top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
, TechContact
Children: Name
, Value
Required: No
public ContactDetail withExtraParams(ExtraParam... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
,
TechContact
Children: Name
, Value
Required: No
NOTE: This method appends the values to the existing list (if
any). Use setExtraParams(java.util.Collection)
or
withExtraParams(java.util.Collection)
if you want to override
the existing values.
extraParams
- A list of name-value pairs for parameters required by certain
top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
, TechContact
Children: Name
, Value
Required: No
public ContactDetail withExtraParams(java.util.Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
,
TechContact
Children: Name
, Value
Required: No
extraParams
- A list of name-value pairs for parameters required by certain
top-level domains.
Type: Complex
Default: None
Parents: RegistrantContact
, AdminContact
, TechContact
Children: Name
, Value
Required: No
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ContactDetail clone()
clone
in class java.lang.Object