Interface DescribeUserProfileResponse.Builder

    • Method Detail

      • userArn

        DescribeUserProfileResponse.Builder userArn​(String userArn)

        The Amazon Resource Name (ARN) of the user.

        Parameters:
        userArn - The Amazon Resource Name (ARN) of the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        DescribeUserProfileResponse.Builder displayName​(String displayName)

        The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").

        Parameters:
        displayName - The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emailAddress

        DescribeUserProfileResponse.Builder emailAddress​(String emailAddress)

        The email address for the user. Optional.

        Parameters:
        emailAddress - The email address for the user. Optional.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sshPublicKey

        DescribeUserProfileResponse.Builder sshPublicKey​(String sshPublicKey)

        The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

        Parameters:
        sshPublicKey - The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        DescribeUserProfileResponse.Builder createdTimestamp​(Instant createdTimestamp)

        The date and time when the user profile was created in AWS CodeStar, in timestamp format.

        Parameters:
        createdTimestamp - The date and time when the user profile was created in AWS CodeStar, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTimestamp

        DescribeUserProfileResponse.Builder lastModifiedTimestamp​(Instant lastModifiedTimestamp)

        The date and time when the user profile was last modified, in timestamp format.

        Parameters:
        lastModifiedTimestamp - The date and time when the user profile was last modified, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.