Interface BatchLookupUserUnameResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchLookupUserUnameResponse.Builder,,BatchLookupUserUnameResponse> SdkBuilder<BatchLookupUserUnameResponse.Builder,,BatchLookupUserUnameResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
BatchLookupUserUnameResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchUnameErrorResponseItem> failed) A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.failed(Consumer<BatchUnameErrorResponseItem.Builder>... failed) A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.failed(BatchUnameErrorResponseItem... failed) A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.A message indicating the overall result of the batch lookup operation.successful(Collection<BatchUnameSuccessResponseItem> successful) A list of successfully resolved username hashes with their corresponding email addresses.successful(Consumer<BatchUnameSuccessResponseItem.Builder>... successful) A list of successfully resolved username hashes with their corresponding email addresses.successful(BatchUnameSuccessResponseItem... successful) A list of successfully resolved username hashes with their corresponding email addresses.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 lookup operation.
- Parameters:
message- A message indicating the overall result of the batch lookup operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchLookupUserUnameResponse.Builder successful(Collection<BatchUnameSuccessResponseItem> successful) A list of successfully resolved username hashes with their corresponding email addresses.
- Parameters:
successful- A list of successfully resolved username hashes with their corresponding email addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of successfully resolved username hashes with their corresponding email addresses.
- Parameters:
successful- A list of successfully resolved username hashes with their corresponding email addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchLookupUserUnameResponse.Builder successful(Consumer<BatchUnameSuccessResponseItem.Builder>... successful) A list of successfully resolved username hashes with their corresponding email addresses.
This is a convenience method that creates an instance of theBatchUnameSuccessResponseItem.Builderavoiding the need to create one manually viaBatchUnameSuccessResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchUnameSuccessResponseItem>).- Parameters:
successful- a consumer that will call methods onBatchUnameSuccessResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.
- Parameters:
failed- A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.
- Parameters:
failed- A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchLookupUserUnameResponse.Builder failed(Consumer<BatchUnameErrorResponseItem.Builder>... failed) A list of username hash lookup attempts that failed, including error details explaining why each lookup failed.
This is a convenience method that creates an instance of theBatchUnameErrorResponseItem.Builderavoiding the need to create one manually viaBatchUnameErrorResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchUnameErrorResponseItem>).- Parameters:
failed- a consumer that will call methods onBatchUnameErrorResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-