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 Details

    • 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

      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

      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.