Interface BatchDeleteUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteUserResponse.Builder,,BatchDeleteUserResponse> SdkBuilder<BatchDeleteUserResponse.Builder,,BatchDeleteUserResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
BatchDeleteUserResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchUserErrorResponseItem> failed) A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.failed(Consumer<BatchUserErrorResponseItem.Builder>... failed) A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.failed(BatchUserErrorResponseItem... failed) A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.A message indicating the overall result of the batch deletion operation.successful(Collection<BatchUserSuccessResponseItem> successful) A list of user IDs that were successfully deleted from the network.successful(Consumer<BatchUserSuccessResponseItem.Builder>... successful) A list of user IDs that were successfully deleted from the network.successful(BatchUserSuccessResponseItem... successful) A list of user IDs that were successfully deleted from the network.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
message
A message indicating the overall result of the batch deletion operation.
- Parameters:
message- A message indicating the overall result of the batch deletion operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of user IDs that were successfully deleted from the network.
- Parameters:
successful- A list of user IDs that were successfully deleted from the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of user IDs that were successfully deleted from the network.
- Parameters:
successful- A list of user IDs that were successfully deleted from the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchDeleteUserResponse.Builder successful(Consumer<BatchUserSuccessResponseItem.Builder>... successful) A list of user IDs that were successfully deleted from the network.
This is a convenience method that creates an instance of theBatchUserSuccessResponseItem.Builderavoiding the need to create one manually viaBatchUserSuccessResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchUserSuccessResponseItem>).- Parameters:
successful- a consumer that will call methods onBatchUserSuccessResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.
- Parameters:
failed- A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.
- Parameters:
failed- A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of user deletion attempts that failed, including error details explaining why each user could not be deleted.
This is a convenience method that creates an instance of theBatchUserErrorResponseItem.Builderavoiding the need to create one manually viaBatchUserErrorResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchUserErrorResponseItem>).- Parameters:
failed- a consumer that will call methods onBatchUserErrorResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-