public void setFleetMetrics(java.util.Collection<FleetMetricNameAndArn> fleetMetrics) {
        if (fleetMetrics == null) {
            this.fleetMetrics = null;
            return;
        }

        this.fleetMetrics = new java.util.ArrayList<FleetMetricNameAndArn>(fleetMetrics);
    }
<p>
The list of fleet metrics objects.
</p>

@param fleetMetrics
       The list of fleet metrics objects.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListFleetMetricsResult.java