public void setMetricType(String metricType) {
        this.metricType = metricType;
    }
<p>
The metric you want to retrieve. You can specify only one metric per call.
</p>
<p>
For more information about the metrics you can view, see <a
href="https://docs.aws.amazon.com/kendra/latest/dg/search-analytics.html">Gaining insights with search
analytics</a>.
</p>

@param metricType
       The metric you want to retrieve. You can specify only one metric per call.</p>
       <p>
       For more information about the metrics you can view, see <a
       href="https://docs.aws.amazon.com/kendra/latest/dg/search-analytics.html">Gaining insights with search
       analytics</a>.
@see MetricType
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/GetSnapshotsRequest.java