Interface BatchCreateUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreateUserResponse.Builder,,BatchCreateUserResponse> SdkBuilder<BatchCreateUserResponse.Builder,,BatchCreateUserResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
BatchCreateUserResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchUserErrorResponseItem> failed) A list of user creation attempts that failed, including error details explaining why each user could not be created.failed(Consumer<BatchUserErrorResponseItem.Builder>... failed) A list of user creation attempts that failed, including error details explaining why each user could not be created.failed(BatchUserErrorResponseItem... failed) A list of user creation attempts that failed, including error details explaining why each user could not be created.A message indicating the overall result of the batch operation.successful(Collection<User> successful) A list of user objects that were successfully created, including their assigned user IDs and invite codes.successful(Consumer<User.Builder>... successful) A list of user objects that were successfully created, including their assigned user IDs and invite codes.successful(User... successful) A list of user objects that were successfully created, including their assigned user IDs and invite codes.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 operation.
- Parameters:
message- A message indicating the overall result of the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of user objects that were successfully created, including their assigned user IDs and invite codes.
- Parameters:
successful- A list of user objects that were successfully created, including their assigned user IDs and invite codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of user objects that were successfully created, including their assigned user IDs and invite codes.
- Parameters:
successful- A list of user objects that were successfully created, including their assigned user IDs and invite codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of user objects that were successfully created, including their assigned user IDs and invite codes.
This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<User>).- Parameters:
successful- a consumer that will call methods onUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of user creation attempts that failed, including error details explaining why each user could not be created.
- Parameters:
failed- A list of user creation attempts that failed, including error details explaining why each user could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of user creation attempts that failed, including error details explaining why each user could not be created.
- Parameters:
failed- A list of user creation attempts that failed, including error details explaining why each user could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of user creation attempts that failed, including error details explaining why each user could not be created.
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:
-