Uses of Class
com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider.Builder
Packages that use STSAssumeRoleSessionCredentialsProvider.Builder
-
Uses of STSAssumeRoleSessionCredentialsProvider.Builder in com.amazonaws.auth
Methods in com.amazonaws.auth that return STSAssumeRoleSessionCredentialsProvider.BuilderModifier and TypeMethodDescriptionSTSAssumeRoleSessionCredentialsProvider.Builder.withClientConfiguration
(ClientConfiguration clientConfiguration) Set the client configuration used to create the AWSSecurityTokenServiceSTSAssumeRoleSessionCredentialsProvider.Builder.withExternalId
(String roleExternalId) Set the roleExternalId parameter that is used when retrieving session credentials under an assumed role.STSAssumeRoleSessionCredentialsProvider.Builder.withLongLivedCredentials
(AWSCredentials longLivedCredentials) Set credentials to use when retrieving session credentials This is not the recommended approach.STSAssumeRoleSessionCredentialsProvider.Builder.withLongLivedCredentialsProvider
(AWSCredentialsProvider longLivedCredentialsProvider) Set credentials provider to use when retrieving session credentialsSTSAssumeRoleSessionCredentialsProvider.Builder.withRoleSessionDurationSeconds
(int roleSessionDurationSeconds) Set the roleSessionDurationSeconds that is used when creating a new assumed role session.STSAssumeRoleSessionCredentialsProvider.Builder.withServiceEndpoint
(String serviceEndpoint) Sets the AWS Security Token Service (STS) endpoint where session credentials are retrieved from.STSAssumeRoleSessionCredentialsProvider.Builder.withStsClient
(AWSSecurityTokenService sts) Sets a preconfigured STS client to use for the credentials provider.