@InterfaceStability.Evolving public class CreateDelegationTokenOptions extends AbstractOptions<CreateDelegationTokenOptions>
Admin.createDelegationToken(CreateDelegationTokenOptions)
.
The API of this class is evolving, see Admin
for details.Constructor and Description |
---|
CreateDelegationTokenOptions() |
Modifier and Type | Method and Description |
---|---|
long |
maxlifeTimeMs() |
CreateDelegationTokenOptions |
maxlifeTimeMs(long maxLifeTimeMs) |
Optional<KafkaPrincipal> |
owner() |
CreateDelegationTokenOptions |
owner(KafkaPrincipal owner) |
List<KafkaPrincipal> |
renewers() |
CreateDelegationTokenOptions |
renewers(List<KafkaPrincipal> renewers) |
timeoutMs, timeoutMs
public CreateDelegationTokenOptions renewers(List<KafkaPrincipal> renewers)
public List<KafkaPrincipal> renewers()
public CreateDelegationTokenOptions owner(KafkaPrincipal owner)
public Optional<KafkaPrincipal> owner()
public CreateDelegationTokenOptions maxlifeTimeMs(long maxLifeTimeMs)
public long maxlifeTimeMs()