| Package | Description |
|---|---|
| org.jclouds.sts | |
| org.jclouds.sts.options |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<UserAndSessionCredentials> |
STSAsyncApi.assumeRole(String roleArn,
String sessionName,
AssumeRoleOptions options) |
UserAndSessionCredentials |
STSApi.assumeRole(String roleArn,
String sessionName,
AssumeRoleOptions options)
like
STSApi.assumeRole(String, String), except you can modify the
timeout and other parameters. |
| Modifier and Type | Method and Description |
|---|---|
AssumeRoleOptions |
AssumeRoleOptions.clone() |
AssumeRoleOptions |
AssumeRoleOptions.durationSeconds(long durationSeconds)
The duration, in seconds, that the credentials should remain valid.
|
static AssumeRoleOptions |
AssumeRoleOptions.Builder.durationSeconds(long durationSeconds) |
AssumeRoleOptions |
AssumeRoleOptions.externalId(String externalId)
A unique identifier that is generated by a third party for each of their customers.
|
static AssumeRoleOptions |
AssumeRoleOptions.Builder.externalId(String externalId) |
AssumeRoleOptions |
AssumeRoleOptions.policy(String policy)
A supplemental policy that can be associated with the temporary security credentials.
|
static AssumeRoleOptions |
AssumeRoleOptions.Builder.policy(String policy) |
Copyright © 2009-2013 jclouds. All Rights Reserved.