public static interface ContactDetail.Builder extends SdkPojo, CopyableBuilder<ContactDetail.Builder,ContactDetail>
Modifier and Type | Method and Description |
---|---|
ContactDetail.Builder |
addressLine1(String addressLine1)
First line of the contact's address.
|
ContactDetail.Builder |
addressLine2(String addressLine2)
Second line of contact's address, if any.
|
ContactDetail.Builder |
city(String city)
The city of the contact's address.
|
ContactDetail.Builder |
contactType(ContactType contactType)
Indicates whether the contact is a person, company, association, or public organization.
|
ContactDetail.Builder |
contactType(String contactType)
Indicates whether the contact is a person, company, association, or public organization.
|
ContactDetail.Builder |
countryCode(CountryCode countryCode)
Code for the country of the contact's address.
|
ContactDetail.Builder |
countryCode(String countryCode)
Code for the country of the contact's address.
|
ContactDetail.Builder |
email(String email)
Email address of the contact.
|
ContactDetail.Builder |
extraParams(Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
|
ContactDetail.Builder |
extraParams(Consumer<ExtraParam.Builder>... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
|
ContactDetail.Builder |
extraParams(ExtraParam... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
|
ContactDetail.Builder |
fax(String fax)
Fax number of the contact.
|
ContactDetail.Builder |
firstName(String firstName)
First name of contact.
|
ContactDetail.Builder |
lastName(String lastName)
Last name of contact.
|
ContactDetail.Builder |
organizationName(String organizationName)
Name of the organization for contact types other than
PERSON . |
ContactDetail.Builder |
phoneNumber(String phoneNumber)
The phone number of the contact.
|
ContactDetail.Builder |
state(String state)
The state or province of the contact's city.
|
ContactDetail.Builder |
zipCode(String zipCode)
The zip or postal code of the contact's address.
|
copy
applyMutation, build
ContactDetail.Builder firstName(String firstName)
First name of contact.
firstName
- First name of contact.ContactDetail.Builder lastName(String lastName)
Last name of contact.
lastName
- Last name of contact.ContactDetail.Builder contactType(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.
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.ContactType
,
ContactType
ContactDetail.Builder contactType(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.
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.ContactType
,
ContactType
ContactDetail.Builder organizationName(String organizationName)
Name of the organization for contact types other than PERSON
.
organizationName
- Name of the organization for contact types other than PERSON
.ContactDetail.Builder addressLine1(String addressLine1)
First line of the contact's address.
addressLine1
- First line of the contact's address.ContactDetail.Builder addressLine2(String addressLine2)
Second line of contact's address, if any.
addressLine2
- Second line of contact's address, if any.ContactDetail.Builder city(String city)
The city of the contact's address.
city
- The city of the contact's address.ContactDetail.Builder state(String state)
The state or province of the contact's city.
state
- The state or province of the contact's city.ContactDetail.Builder countryCode(String countryCode)
Code for the country of the contact's address.
countryCode
- Code for the country of the contact's address.CountryCode
,
CountryCode
ContactDetail.Builder countryCode(CountryCode countryCode)
Code for the country of the contact's address.
countryCode
- Code for the country of the contact's address.CountryCode
,
CountryCode
ContactDetail.Builder zipCode(String zipCode)
The zip or postal code of the contact's address.
zipCode
- The zip or postal code of the contact's address.ContactDetail.Builder phoneNumber(String phoneNumber)
The phone number of the contact.
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"
.
phoneNumber
- The phone number of the contact.
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"
.
ContactDetail.Builder email(String email)
Email address of the contact.
email
- Email address of the contact.ContactDetail.Builder fax(String fax)
Fax number of the contact.
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"
.
fax
- Fax number of the contact.
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"
.
ContactDetail.Builder extraParams(Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
extraParams
- A list of name-value pairs for parameters required by certain top-level domains.ContactDetail.Builder extraParams(ExtraParam... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
extraParams
- A list of name-value pairs for parameters required by certain top-level domains.ContactDetail.Builder extraParams(Consumer<ExtraParam.Builder>... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #extraParams(List)
.extraParams
- a consumer that will call methods on List.Builder
#extraParams(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.