public static interface AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder,AssociatePhoneNumbersWithVoiceConnectorGroupResponse>
| Modifier and Type | Method and Description |
|---|---|
AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder |
phoneNumberErrors(Collection<PhoneNumberError> phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is
returned, along with error codes and error messages.
|
AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder |
phoneNumberErrors(Consumer<PhoneNumberError.Builder>... phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is
returned, along with error codes and error messages.
|
AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder |
phoneNumberErrors(PhoneNumberError... phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is
returned, along with error codes and error messages.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildAssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder phoneNumberErrors(Collection<PhoneNumberError> phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
phoneNumberErrors - If the action fails for one or more of the phone numbers in the request, a list of the phone numbers
is returned, along with error codes and error messages.AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder phoneNumberErrors(PhoneNumberError... phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
phoneNumberErrors - If the action fails for one or more of the phone numbers in the request, a list of the phone numbers
is returned, along with error codes and error messages.AssociatePhoneNumbersWithVoiceConnectorGroupResponse.Builder phoneNumberErrors(Consumer<PhoneNumberError.Builder>... phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
This is a convenience method that creates an instance of thePhoneNumberError.Builder avoiding the need to create one
manually via PhoneNumberError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #phoneNumberErrors(List.
phoneNumberErrors - a consumer that will call methods on
PhoneNumberError.Builder#phoneNumberErrors(java.util.Collection) Copyright © 2022. All rights reserved.