@IdiotProofImmutable public final class ImmutableAWSSessionCredentials extends Object implements com.amazonaws.auth.AWSSessionCredentials
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableAWSSessionCredentials.Builder |
Modifier and Type | Method and Description |
---|---|
static ImmutableAWSSessionCredentials |
build(com.amazonaws.auth.AWSCredentials credentials,
String sessionToken) |
static ImmutableAWSSessionCredentials |
build(String accessKey,
String secretKey,
String sessionToken) |
static ImmutableAWSSessionCredentials.Builder |
builder() |
static ImmutableAWSSessionCredentials |
copyOf(com.amazonaws.auth.AWSSessionCredentials credentials) |
String |
getAWSAccessKeyId() |
String |
getAWSSecretKey() |
com.amazonaws.auth.AWSCredentials |
getCredentials() |
String |
getSessionToken() |
public static ImmutableAWSSessionCredentials copyOf(com.amazonaws.auth.AWSSessionCredentials credentials)
public static ImmutableAWSSessionCredentials build(com.amazonaws.auth.AWSCredentials credentials, String sessionToken)
public static ImmutableAWSSessionCredentials build(String accessKey, String secretKey, String sessionToken)
public static ImmutableAWSSessionCredentials.Builder builder()
public String getSessionToken()
getSessionToken
in interface com.amazonaws.auth.AWSSessionCredentials
public com.amazonaws.auth.AWSCredentials getCredentials()
public String getAWSAccessKeyId()
getAWSAccessKeyId
in interface com.amazonaws.auth.AWSCredentials
public String getAWSSecretKey()
getAWSSecretKey
in interface com.amazonaws.auth.AWSCredentials
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.