Interface UserIdentity.Builder

    • Method Detail

      • assumedRole

        UserIdentity.Builder assumedRole​(AssumedRole assumedRole)

        If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

        Parameters:
        assumedRole - If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsAccount

        UserIdentity.Builder awsAccount​(AwsAccount awsAccount)

        If the action was performed using the credentials for another Amazon Web Services account, the details of that account.

        Parameters:
        awsAccount - If the action was performed using the credentials for another Amazon Web Services account, the details of that account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsService

        UserIdentity.Builder awsService​(AwsService awsService)

        If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Services service, the name of the service.

        Parameters:
        awsService - If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Services service, the name of the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • federatedUser

        UserIdentity.Builder federatedUser​(FederatedUser federatedUser)

        If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

        Parameters:
        federatedUser - If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamUser

        UserIdentity.Builder iamUser​(IamUser iamUser)

        If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.

        Parameters:
        iamUser - If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • root

        UserIdentity.Builder root​(UserIdentityRoot root)

        If the action was performed using the credentials for your Amazon Web Services account, the details of your account.

        Parameters:
        root - If the action was performed using the credentials for your Amazon Web Services account, the details of your account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        UserIdentity.Builder type​(String type)

        The type of entity that performed the action.

        Parameters:
        type - The type of entity that performed the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UserIdentityType, UserIdentityType