public ListFleetMetricsResult withFleetMetrics(java.util.Collection<FleetMetricNameAndArn> fleetMetrics) {
        setFleetMetrics(fleetMetrics);
        return this;
    }
<p>
The list of fleet metrics objects.
</p>

@param fleetMetrics
       The list of fleet metrics objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListFleetMetricsResult.java