public ApplicationAssignment withPrincipalId(String principalId) {
        setPrincipalId(principalId);
        return this;
    }
<p>
The unique identifier of the principal assigned to the application.
</p>

@param principalId
       The unique identifier of the principal assigned to the application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssoadmin/src/main/java/com/amazonaws/services/ssoadmin/model/ApplicationAssignment.java