public SessionIssuer withPrincipalId(String principalId) {
        setPrincipalId(principalId);
        return this;
    }
<p>
The unique identifier for the entity that was used to get the credentials.
</p>

@param principalId
       The unique identifier for the entity that was used to get the credentials.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/SessionIssuer.java