Interface BatchSuspendUserResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<BatchSuspendUserResponse.Builder,BatchSuspendUserResponse>,SdkBuilder<BatchSuspendUserResponse.Builder,BatchSuspendUserResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchSuspendUserResponse
public static interface BatchSuspendUserResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<BatchSuspendUserResponse.Builder,BatchSuspendUserResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchSuspendUserResponse.BuilderuserErrors(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.BuilderuserErrors(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.BuilderuserErrors(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.-
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userErrors
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userErrors
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userErrors
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.Builderavoiding the need to create one manually viaUserError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userErrors(List.) - 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:
#userErrors(java.util.Collection)
-
-