public static interface CreateContactRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<CreateContactRequest.Builder,CreateContactRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateContactRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
|
CreateContactRequest.Builder |
displayName(String displayName)
The name of the contact to display on the console.
|
CreateContactRequest.Builder |
firstName(String firstName)
The first name of the contact that is used to call the contact on the device.
|
CreateContactRequest.Builder |
lastName(String lastName)
The last name of the contact that is used to call the contact on the device.
|
CreateContactRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateContactRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateContactRequest.Builder |
phoneNumber(String phoneNumber)
The phone number of the contact in E.164 format.
|
CreateContactRequest.Builder |
phoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
|
CreateContactRequest.Builder |
phoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers)
The list of phone numbers for the contact.
|
CreateContactRequest.Builder |
phoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
|
CreateContactRequest.Builder |
sipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
|
CreateContactRequest.Builder |
sipAddresses(Consumer<SipAddress.Builder>... sipAddresses)
The list of SIP addresses for the contact.
|
CreateContactRequest.Builder |
sipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for the contact.
|
CreateContactRequest.Builder |
tags(Collection<Tag> tags)
The tags to be added to the specified resource.
|
CreateContactRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to be added to the specified resource.
|
CreateContactRequest.Builder |
tags(Tag... tags)
The tags to be added to the specified resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateContactRequest.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.CreateContactRequest.Builder firstName(String firstName)
The first name of the contact that is used to call the contact on the device.
firstName - The first name of the contact that is used to call the contact on the device.CreateContactRequest.Builder lastName(String lastName)
The last name of the contact that is used to call the contact on the device.
lastName - The last name of the contact that is used to call the contact on the device.CreateContactRequest.Builder phoneNumber(String phoneNumber)
The phone number of the contact in E.164 format. 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 in E.164 format. 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.CreateContactRequest.Builder phoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
phoneNumbers - The list of phone numbers for the contact.CreateContactRequest.Builder phoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
phoneNumbers - The list of phone numbers for the contact.CreateContactRequest.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) CreateContactRequest.Builder sipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
sipAddresses - The list of SIP addresses for the contact.CreateContactRequest.Builder sipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for the contact.
sipAddresses - The list of SIP addresses for the contact.CreateContactRequest.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) CreateContactRequest.Builder clientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
clientRequestToken - A unique, user-specified identifier for this request that ensures idempotency.CreateContactRequest.Builder tags(Collection<Tag> tags)
The tags to be added to the specified resource. Do not provide system tags.
tags - The tags to be added to the specified resource. Do not provide system tags.CreateContactRequest.Builder tags(Tag... tags)
The tags to be added to the specified resource. Do not provide system tags.
tags - The tags to be added to the specified resource. Do not provide system tags.CreateContactRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be added to the specified resource. Do not provide system tags.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.