Interface SessionIssuer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SessionIssuer.Builder,SessionIssuer>,SdkBuilder<SessionIssuer.Builder,SessionIssuer>,SdkPojo
- Enclosing class:
- SessionIssuer
public static interface SessionIssuer.Builder extends SdkPojo, CopyableBuilder<SessionIssuer.Builder,SessionIssuer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionIssuer.BuilderaccountId(String accountId)The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.SessionIssuer.Builderarn(String arn)The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was used to get the credentials.SessionIssuer.BuilderprincipalId(String principalId)The unique identifier for the entity that was used to get the credentials.SessionIssuer.Buildertype(String type)The source of the temporary security credentials, such as Root, IAMUser, or Role.SessionIssuer.BuilderuserName(String userName)The name or alias of the user or role 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
SessionIssuer.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
SessionIssuer.Builder arn(String arn)
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was used to get the credentials.
- Parameters:
arn- The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was used to get the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalId
SessionIssuer.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.
-
type
SessionIssuer.Builder type(String type)
The source of the temporary security credentials, such as Root, IAMUser, or Role.
- Parameters:
type- The source of the temporary security credentials, such as Root, IAMUser, or Role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
SessionIssuer.Builder userName(String userName)
The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.
- Parameters:
userName- The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-