public final class ProcessCredentialsProvider extends Object implements AWSCredentialsProvider
builder()
.
Available settings:
Modifier and Type | Class and Description |
---|---|
static class |
ProcessCredentialsProvider.Builder
Used to configure and create a
ProcessCredentialsProvider . |
Modifier and Type | Method and Description |
---|---|
static ProcessCredentialsProvider.Builder |
builder()
Retrieve a new builder that can be used to create and configure a
ProcessCredentialsProvider . |
org.joda.time.DateTime |
getCredentialExpirationTime()
Get the time at which this credentials provider will block to refresh the credentials.
|
AWSCredentials |
getCredentials()
Returns AWSCredentials which the caller can use to authorize an AWS request.
|
void |
refresh()
Forces this credentials provider to refresh its credentials.
|
public static ProcessCredentialsProvider.Builder builder()
ProcessCredentialsProvider
.public AWSCredentials getCredentials()
AWSCredentialsProvider
getCredentials
in interface AWSCredentialsProvider
public void refresh()
AWSCredentialsProvider
refresh
in interface AWSCredentialsProvider
public org.joda.time.DateTime getCredentialExpirationTime()
Copyright © 2022. All rights reserved.