Interface BatchUnsuspendUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<BatchUnsuspendUserResponse.Builder,,BatchUnsuspendUserResponse> SdkBuilder<BatchUnsuspendUserResponse.Builder,,BatchUnsuspendUserResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchUnsuspendUserResponse
public static interface BatchUnsuspendUserResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<BatchUnsuspendUserResponse.Builder,BatchUnsuspendUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptionuserErrors(Collection<UserError> userErrors) If the BatchUnsuspendUser 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(Consumer<UserError.Builder>... userErrors) If the BatchUnsuspendUser 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(UserError... userErrors) If the BatchUnsuspendUser 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.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
userErrors
If the BatchUnsuspendUser 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.
- Parameters:
userErrors- If the BatchUnsuspendUser 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userErrors
If the BatchUnsuspendUser 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.
- Parameters:
userErrors- If the BatchUnsuspendUser 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userErrors
If the BatchUnsuspendUser 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.Builderavoiding the need to create one manually viaUserError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserErrors(List<UserError>).- Parameters:
userErrors- a consumer that will call methods onUserError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-