public final class CredentialsImpl extends Object implements Credentials
Constructor and Description |
---|
CredentialsImpl(String accessKey,
String secretKey,
Optional<String> sessionToken) |
Modifier and Type | Method and Description |
---|---|
String |
accessKey() |
String |
secretKey() |
Optional<String> |
sessionToken() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromEnvironment, fromSystemProperties, of, of
public String accessKey()
accessKey
in interface Credentials
public String secretKey()
secretKey
in interface Credentials
public Optional<String> sessionToken()
sessionToken
in interface Credentials
Copyright © 2021–2024. All rights reserved.