Java com.amazonaws.services.securitytoken.model AssumeRoleRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.securitytoken.model AssumeRoleRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.securitytoken.model AssumeRoleRequest.

The text is from its open source code.

Constructor

Method

IntegergetDurationSeconds()

The duration, in seconds, of the role session.

StringgetPolicy()

An IAM policy in JSON format that you want to use as an inline session policy.

voidsetDurationSeconds(Integer durationSeconds)

The duration, in seconds, of the role session.

voidsetExternalId(String externalId)

A unique identifier that might be required when you assume a role in another account.

voidsetPolicy(String policy)

An IAM policy in JSON format that you want to use as an inline session policy.

voidsetRoleArn(String roleArn)

The Amazon Resource Name (ARN) of the role to assume.

voidsetRoleSessionName(String roleSessionName)

An identifier for the assumed role session.

AssumeRoleRequestwithExternalId(String externalId)

A unique identifier that might be required when you assume a role in another account.