@InterfaceStability.Evolving public class DescribeUserScramCredentialsResult extends Object
Admin.describeUserScramCredentials()
call.
The API of this class is evolving, see Admin
for details.Modifier and Type | Method and Description |
---|---|
KafkaFuture<Map<String,UserScramCredentialsDescription>> |
all() |
KafkaFuture<UserScramCredentialsDescription> |
description(String userName) |
KafkaFuture<List<String>> |
users() |
public KafkaFuture<Map<String,UserScramCredentialsDescription>> all()
users()
. The future will complete successfully only if all such user
descriptions complete successfully.public KafkaFuture<List<String>> users()
public KafkaFuture<UserScramCredentialsDescription> description(String userName)
userName
- the name of the user description being requestedusers()
completes exceptionally. Note that if the given user does not exist in
the list of described users then the returned future will complete exceptionally with
ResourceNotFoundException
.