Package org.apache.kafka.clients.admin
Class DescribeDelegationTokenOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<DescribeDelegationTokenOptions>
org.apache.kafka.clients.admin.DescribeDelegationTokenOptions
@Evolving public class DescribeDelegationTokenOptions extends AbstractOptions<DescribeDelegationTokenOptions>
Options for
Admin.describeDelegationToken(DescribeDelegationTokenOptions)
.
The API of this class is evolving, see Admin
for details.-
Field Summary
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
Constructor Summary
Constructors Constructor Description DescribeDelegationTokenOptions()
-
Method Summary
Modifier and Type Method Description List<KafkaPrincipal>
owners()
DescribeDelegationTokenOptions
owners(List<KafkaPrincipal> owners)
if owners is null, all the user owned tokens and tokens where user have Describe permission will be returned.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
Constructor Details
-
DescribeDelegationTokenOptions
public DescribeDelegationTokenOptions()
-
-
Method Details
-
owners
if owners is null, all the user owned tokens and tokens where user have Describe permission will be returned.- Parameters:
owners
-- Returns:
- this instance
-
owners
-