public ApiCallDetails withApi(String api) {
        setApi(api);
        return this;
    }
<p>
The name of the operation that was invoked most recently and produced the finding.
</p>

@param api
       The name of the operation that was invoked most recently and produced the finding.
@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/ApiCallDetails.java