@InterfaceStability.Evolving public class DescribeUserScramCredentialsResult extends java.lang.Object
Admin.describeUserScramCredentials()
call.
The API of this class is evolving, see Admin
for details.Modifier and Type | Method and Description |
---|---|
KafkaFuture<java.util.Map<java.lang.String,UserScramCredentialsDescription>> |
all() |
KafkaFuture<UserScramCredentialsDescription> |
description(java.lang.String userName) |
KafkaFuture<java.util.List<java.lang.String>> |
users() |
public KafkaFuture<java.util.Map<java.lang.String,UserScramCredentialsDescription>> all()
users()
. The future will complete successfully only if all such user
descriptions complete successfully.public KafkaFuture<java.util.List<java.lang.String>> users()
public KafkaFuture<UserScramCredentialsDescription> description(java.lang.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
.