Interface FederatedUser.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FederatedUser.Builder,FederatedUser>,SdkBuilder<FederatedUser.Builder,FederatedUser>,SdkPojo
- Enclosing class:
- FederatedUser
public static interface FederatedUser.Builder extends SdkPojo, CopyableBuilder<FederatedUser.Builder,FederatedUser>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FederatedUser.BuilderaccessKeyId(String accessKeyId)The Amazon Web Services access key ID that identifies the credentials.FederatedUser.BuilderaccountId(String accountId)The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.FederatedUser.Builderarn(String arn)The Amazon Resource Name (ARN) of the entity that was used to get the credentials.FederatedUser.BuilderprincipalId(String principalId)The unique identifier for the entity that was used to get the credentials.default FederatedUser.BuildersessionContext(Consumer<SessionContext.Builder> sessionContext)The details of the session that was created for the credentials, including the entity that issued the session.FederatedUser.BuildersessionContext(SessionContext sessionContext)The details of the session that was created for the credentials, including the entity that issued the session.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accessKeyId
FederatedUser.Builder accessKeyId(String accessKeyId)
The Amazon Web Services access key ID that identifies the credentials.
- Parameters:
accessKeyId- The Amazon Web Services access key ID that identifies the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
FederatedUser.Builder accountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.
- Parameters:
accountId- The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
FederatedUser.Builder arn(String arn)
The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
- Parameters:
arn- The Amazon Resource Name (ARN) of the entity that was used to get the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalId
FederatedUser.Builder principalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
- Parameters:
principalId- The unique identifier for the entity that was used to get the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionContext
FederatedUser.Builder sessionContext(SessionContext sessionContext)
The details of the session that was created for the credentials, including the entity that issued the session.
- Parameters:
sessionContext- The details of the session that was created for the credentials, including the entity that issued the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionContext
default FederatedUser.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.Builderavoiding the need to create one manually viaSessionContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionContext(SessionContext).- Parameters:
sessionContext- a consumer that will call methods onSessionContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sessionContext(SessionContext)
-
-