Example usage for Java com.amazonaws.services.securitytoken.model AssumeRoleRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
Integer | getDurationSeconds() The duration, in seconds, of the role session. |
String | getPolicy() An IAM policy in JSON format that you want to use as an inline session policy. |
void | setDurationSeconds(Integer durationSeconds) The duration, in seconds, of the role session. |
void | setExternalId(String externalId) A unique identifier that might be required when you assume a role in another account. |
void | setPolicy(String policy) An IAM policy in JSON format that you want to use as an inline session policy. |
void | setRoleArn(String roleArn) The Amazon Resource Name (ARN) of the role to assume. |
void | setRoleSessionName(String roleSessionName) An identifier for the assumed role session. |
AssumeRoleRequest | withExternalId(String externalId) A unique identifier that might be required when you assume a role in another account. |