public ListAppAssessmentsRequest withInvoker(AssessmentInvoker invoker) {
        this.invoker = invoker.toString();
        return this;
    }
<p>
Specifies the entity that invoked a specific assessment, either a <code>User</code> or the <code>System</code>.
</p>

@param invoker
       Specifies the entity that invoked a specific assessment, either a <code>User</code> or the
       <code>System</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see AssessmentInvoker
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ListAppAssessmentsRequest.java