public static interface ContactData.Builder extends SdkPojo, CopyableBuilder<ContactData.Builder,ContactData>
| Modifier and Type | Method and Description |
|---|---|
ContactData.Builder |
contactArn(String contactArn)
The ARN of the contact.
|
ContactData.Builder |
displayName(String displayName)
The name of the contact to display on the console.
|
ContactData.Builder |
firstName(String firstName)
The first name of the contact, used to call the contact on the device.
|
ContactData.Builder |
lastName(String lastName)
The last name of the contact, used to call the contact on the device.
|
ContactData.Builder |
phoneNumber(String phoneNumber)
The phone number of the contact.
|
ContactData.Builder |
phoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
|
ContactData.Builder |
phoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers)
The list of phone numbers for the contact.
|
ContactData.Builder |
phoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
|
ContactData.Builder |
sipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
|
ContactData.Builder |
sipAddresses(Consumer<SipAddress.Builder>... sipAddresses)
The list of SIP addresses for the contact.
|
ContactData.Builder |
sipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for the contact.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContactData.Builder contactArn(String contactArn)
The ARN of the contact.
contactArn - The ARN of the contact.ContactData.Builder displayName(String displayName)
The name of the contact to display on the console.
displayName - The name of the contact to display on the console.ContactData.Builder firstName(String firstName)
The first name of the contact, used to call the contact on the device.
firstName - The first name of the contact, used to call the contact on the device.ContactData.Builder lastName(String lastName)
The last name of the contact, used to call the contact on the device.
lastName - The last name of the contact, used to call the contact on the device.ContactData.Builder phoneNumber(String phoneNumber)
The phone number of the contact. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
phoneNumber - The phone number of the contact. The phone number type defaults to WORK. You can specify PhoneNumber
or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type
and multiple numbers.ContactData.Builder phoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
phoneNumbers - The list of phone numbers for the contact.ContactData.Builder phoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
phoneNumbers - The list of phone numbers for the contact.ContactData.Builder phoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers)
The list of phone numbers for the contact.
This is a convenience method that creates an instance of thePhoneNumber.Builder avoiding the need to
create one manually via PhoneNumber.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #phoneNumbers(List.
phoneNumbers - a consumer that will call methods on
PhoneNumber.Builder#phoneNumbers(java.util.Collection) ContactData.Builder sipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
sipAddresses - The list of SIP addresses for the contact.ContactData.Builder sipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for the contact.
sipAddresses - The list of SIP addresses for the contact.ContactData.Builder sipAddresses(Consumer<SipAddress.Builder>... sipAddresses)
The list of SIP addresses for the contact.
This is a convenience method that creates an instance of theSipAddress.Builder avoiding the need to create
one manually via SipAddress.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sipAddresses(List.
sipAddresses - a consumer that will call methods on
SipAddress.Builder#sipAddresses(java.util.Collection) Copyright © 2023. All rights reserved.