public ServiceLevelIndicatorMetric withMetricType(String metricType) {
        setMetricType(metricType);
        return this;
    }
<p>
If the SLO monitors either the <code>LATENCY</code> or <code>AVAILABILITY</code> metric that Application Signals
collects, this field displays which of those metrics is used.
</p>

@param metricType
       If the SLO monitors either the <code>LATENCY</code> or <code>AVAILABILITY</code> metric that Application
       Signals collects, this field displays which of those metrics is used.
@return Returns a reference to this object so that method calls can be chained together.
@see ServiceLevelIndicatorMetricType
aws-java-sdk-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/ServiceLevelIndicatorMetric.java