public static interface DisassociatePhoneNumbersFromVoiceConnectorResponse.Builder extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<DisassociatePhoneNumbersFromVoiceConnectorResponse.Builder,DisassociatePhoneNumbersFromVoiceConnectorResponse>
| Modifier and Type | Method and Description |
|---|---|
DisassociatePhoneNumbersFromVoiceConnectorResponse.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.
|
DisassociatePhoneNumbersFromVoiceConnectorResponse.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.
|
DisassociatePhoneNumbersFromVoiceConnectorResponse.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, buildDisassociatePhoneNumbersFromVoiceConnectorResponse.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.DisassociatePhoneNumbersFromVoiceConnectorResponse.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.DisassociatePhoneNumbersFromVoiceConnectorResponse.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 © 2023. All rights reserved.