Package org.jclouds.aws.domain
Class SessionCredentials.Builder
- java.lang.Object
-
- org.jclouds.domain.Credentials.Builder<SessionCredentials>
-
- org.jclouds.aws.domain.SessionCredentials.Builder
-
- Enclosing class:
- SessionCredentials
public static final class SessionCredentials.Builder extends Credentials.Builder<SessionCredentials>
-
-
Field Summary
-
Fields inherited from class org.jclouds.domain.Credentials.Builder
credential, identity
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
identity
public SessionCredentials.Builder identity(String identity)
- Overrides:
identity
in classCredentials.Builder<SessionCredentials>
-
credential
public SessionCredentials.Builder credential(String credential)
- Overrides:
credential
in classCredentials.Builder<SessionCredentials>
-
accessKeyId
public SessionCredentials.Builder accessKeyId(String accessKeyId)
- See Also:
SessionCredentials.getAccessKeyId()
-
secretAccessKey
public SessionCredentials.Builder secretAccessKey(String secretAccessKey)
- See Also:
SessionCredentials.getSecretAccessKey()
-
sessionToken
public SessionCredentials.Builder sessionToken(String sessionToken)
- See Also:
SessionCredentials.getSessionToken()
-
expiration
public SessionCredentials.Builder expiration(Date expiration)
- See Also:
SessionCredentials.getExpiration()
-
build
public SessionCredentials build()
- Overrides:
build
in classCredentials.Builder<SessionCredentials>
-
from
public SessionCredentials.Builder from(SessionCredentials in)
-
-