public static final class InstanceProfileCredentialsProvider.Builder extends Object
InstanceProfileCredentialsProvider
.Modifier and Type | Method | Description |
---|---|---|
InstanceProfileCredentialsProvider.Builder |
asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled) |
Configure whether this provider should fetch credentials asynchronously in the background.
|
InstanceProfileCredentialsProvider |
build() |
Build a
InstanceProfileCredentialsProvider from the provided configuration. |
public InstanceProfileCredentialsProvider.Builder asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
InstanceProfileCredentialsProvider.getCredentials()
is called, but additional resources are used to maintain the
provider.
By default, this is disabled.
public InstanceProfileCredentialsProvider build()
InstanceProfileCredentialsProvider
from the provided configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.