public static interface AssumedRole.Builder extends SdkPojo, CopyableBuilder<AssumedRole.Builder,AssumedRole>
| Modifier and Type | Method and Description |
|---|---|
AssumedRole.Builder |
accessKeyId(String accessKeyId)
The Amazon Web Services access key ID that identifies the credentials.
|
AssumedRole.Builder |
accountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.
|
AssumedRole.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
|
AssumedRole.Builder |
principalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
|
default AssumedRole.Builder |
sessionContext(Consumer<SessionContext.Builder> sessionContext)
The details of the session that was created for the credentials, including the entity that issued the
session.
|
AssumedRole.Builder |
sessionContext(SessionContext sessionContext)
The details of the session that was created for the credentials, including the entity that issued the
session.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssumedRole.Builder accessKeyId(String accessKeyId)
The Amazon Web Services access key ID that identifies the credentials.
accessKeyId - The Amazon Web Services access key ID that identifies the credentials.AssumedRole.Builder accountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.
accountId - The unique identifier for the Amazon Web Services account that owns the entity that was used to get
the credentials.AssumedRole.Builder arn(String arn)
The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
arn - The Amazon Resource Name (ARN) of the entity that was used to get the credentials.AssumedRole.Builder principalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
principalId - The unique identifier for the entity that was used to get the credentials.AssumedRole.Builder sessionContext(SessionContext sessionContext)
The details of the session that was created for the credentials, including the entity that issued the session.
sessionContext - The details of the session that was created for the credentials, including the entity that issued the
session.default AssumedRole.Builder sessionContext(Consumer<SessionContext.Builder> sessionContext)
The details of the session that was created for the credentials, including the entity that issued the session.
This is a convenience method that creates an instance of theSessionContext.Builder avoiding the need
to create one manually via SessionContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sessionContext(SessionContext).
sessionContext - a consumer that will call methods on SessionContext.BuildersessionContext(SessionContext)Copyright © 2023. All rights reserved.