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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchSuspendUserResponse.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 method that creates an instance of theUserError.Builder avoiding the need to create one
manually via UserError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #userErrors(List.
userErrors - a consumer that will call methods on
UserError.Builder#userErrors(java.util.Collection) Copyright © 2022. All rights reserved.