public TemplateLinkedPolicyDefinitionDetail withPrincipal(EntityIdentifier principal) {
        setPrincipal(principal);
        return this;
    }
<p>
The principal associated with this template-linked policy. Verified Permissions substitutes this principal for
the <code>?principal</code> placeholder in the policy template when it evaluates an authorization request.
</p>

@param principal
       The principal associated with this template-linked policy. Verified Permissions substitutes this principal
       for the <code>?principal</code> placeholder in the policy template when it evaluates an authorization
       request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-verifiedpermissions/src/main/java/com/amazonaws/services/verifiedpermissions/model/TemplateLinkedPolicyDefinitionDetail.java