public static class ProcessCredentialsProvider.Builder extends Object implements CopyableBuilder<ProcessCredentialsProvider.Builder,ProcessCredentialsProvider>
ProcessCredentialsProvider. See ProcessCredentialsProvider.builder() creation.| Modifier and Type | Method and Description |
|---|---|
ProcessCredentialsProvider.Builder |
asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
Configure whether the provider should fetch credentials asynchronously in the background.
|
ProcessCredentialsProvider |
build()
An immutable object that is created from the
properties that have been set on the builder.
|
ProcessCredentialsProvider.Builder |
command(List<String> commandAsListOfStrings)
Configure the command that should be executed to retrieve credentials, as a list of strings.
|
ProcessCredentialsProvider.Builder |
command(String command)
Deprecated.
The recommended approach is to specify the command as a list of Strings, using
command(List)
instead, which makes it easier to programmatically add parameters to commands without needing to escape those
parameters to protect against command injection. |
ProcessCredentialsProvider.Builder |
credentialRefreshThreshold(Duration credentialRefreshThreshold)
Configure the amount of time between when the credentials expire and when the credentials should start to be
refreshed.
|
ProcessCredentialsProvider.Builder |
processOutputLimit(long outputByteLimit)
Configure the maximum amount of data that can be returned by the external process before an exception is
raised.
|
ProcessCredentialsProvider.Builder |
staticAccountId(String staticAccountId)
Configure a static account id for this credentials provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyapplyMutationpublic ProcessCredentialsProvider.Builder asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
By default, this is disabled.
@Deprecated public ProcessCredentialsProvider.Builder command(String command)
command(List)
instead, which makes it easier to programmatically add parameters to commands without needing to escape those
parameters to protect against command injection.ProcessBuilder for details on how this command is used.public ProcessCredentialsProvider.Builder command(List<String> commandAsListOfStrings)
ProcessBuilder for details on how this command is used.public ProcessCredentialsProvider.Builder credentialRefreshThreshold(Duration credentialRefreshThreshold)
Default: 15 seconds.
public ProcessCredentialsProvider.Builder processOutputLimit(long outputByteLimit)
Default: 64000 bytes (64KB).
public ProcessCredentialsProvider.Builder staticAccountId(String staticAccountId)
public ProcessCredentialsProvider build()
SdkBuilderbuild in interface Buildablebuild in interface SdkBuilder<ProcessCredentialsProvider.Builder,ProcessCredentialsProvider>Copyright © 2026. All rights reserved.