public static class ProcessCredentialsProvider.Builder extends Object
ProcessCredentialsProvider
. See ProcessCredentialsProvider.builder()
creation.Modifier and Type | Method and Description |
---|---|
ProcessCredentialsProvider |
build() |
void |
setCredentialExpirationBuffer(int value,
TimeUnit unit)
Configure the amount of time between when the credentials expire and when the credentials should start to be
refreshed.
|
ProcessCredentialsProvider.Builder |
withCommand(String command) |
ProcessCredentialsProvider.Builder |
withCredentialExpirationBuffer(int value,
TimeUnit unit) |
ProcessCredentialsProvider.Builder |
withProcessOutputLimit(long outputByteLimit) |
public ProcessCredentialsProvider.Builder withCommand(String command)
setCommand(String)
public void setCredentialExpirationBuffer(int value, TimeUnit unit)
public ProcessCredentialsProvider.Builder withCredentialExpirationBuffer(int value, TimeUnit unit)
public ProcessCredentialsProvider.Builder withProcessOutputLimit(long outputByteLimit)
setProcessOutputLimit(long)
public ProcessCredentialsProvider build()
Copyright © 2022. All rights reserved.