public static final class SessionCredentials.Builder extends Credentials.Builder<SessionCredentials>
credential, identity
Constructor and Description |
---|
SessionCredentials.Builder() |
Modifier and Type | Method and Description |
---|---|
SessionCredentials.Builder |
accessKeyId(String accessKeyId) |
SessionCredentials |
build() |
SessionCredentials.Builder |
credential(String credential) |
SessionCredentials.Builder |
expiration(Date expiration) |
SessionCredentials.Builder |
from(SessionCredentials in) |
SessionCredentials.Builder |
identity(String identity) |
SessionCredentials.Builder |
secretAccessKey(String secretAccessKey) |
SessionCredentials.Builder |
sessionToken(String sessionToken) |
public SessionCredentials.Builder identity(String identity)
identity
in class Credentials.Builder<SessionCredentials>
public SessionCredentials.Builder credential(String credential)
credential
in class Credentials.Builder<SessionCredentials>
public SessionCredentials.Builder accessKeyId(String accessKeyId)
SessionCredentials.getAccessKeyId()
public SessionCredentials.Builder secretAccessKey(String secretAccessKey)
public SessionCredentials.Builder sessionToken(String sessionToken)
SessionCredentials.getSessionToken()
public SessionCredentials.Builder expiration(Date expiration)
SessionCredentials.getExpiration()
public SessionCredentials build()
build
in class Credentials.Builder<SessionCredentials>
public SessionCredentials.Builder from(SessionCredentials in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.