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 forAdmin.describeDelegationToken(DescribeDelegationTokenOptions)
. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description DescribeDelegationTokenOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
owners
public DescribeDelegationTokenOptions owners(List<KafkaPrincipal> 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
public List<KafkaPrincipal> owners()
-
-