public static interface BatchSuspendUserResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<BatchSuspendUserResponse.Builder,BatchSuspendUserResponse>
Modifier and Type | Method and Description |
---|---|
BatchSuspendUserResponse.Builder |
userErrors(Collection<UserError> userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the
user IDs is returned, along with error codes and error messages.
|
BatchSuspendUserResponse.Builder |
userErrors(Consumer<UserError.Builder>... userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the
user IDs is returned, along with error codes and error messages.
|
BatchSuspendUserResponse.Builder |
userErrors(UserError... userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the
user IDs is returned, along with error codes and error messages.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
BatchSuspendUserResponse.Builder userErrors(Collection<UserError> userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
userErrors
- If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of
the user IDs is returned, along with error codes and error messages.BatchSuspendUserResponse.Builder userErrors(UserError... userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
userErrors
- If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of
the user IDs is returned, along with error codes and error messages.BatchSuspendUserResponse.Builder userErrors(Consumer<UserError.Builder>... userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #userErrors(List)
.userErrors
- a consumer that will call methods on List.Builder
#userErrors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.