Interface BatchUpdatePhoneNumberResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, ChimeResponse.Builder, CopyableBuilder<BatchUpdatePhoneNumberResponse.Builder,BatchUpdatePhoneNumberResponse>, SdkBuilder<BatchUpdatePhoneNumberResponse.Builder,BatchUpdatePhoneNumberResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
BatchUpdatePhoneNumberResponse

public static interface BatchUpdatePhoneNumberResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdatePhoneNumberResponse.Builder,BatchUpdatePhoneNumberResponse>
  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • phoneNumberErrors

      BatchUpdatePhoneNumberResponse.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the PhoneNumberError.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<PhoneNumberError>).

      Parameters:
      phoneNumberErrors - a consumer that will call methods on PhoneNumberError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: