public void setAgentMetrics(java.util.Collection<EdgeMetric> agentMetrics) {
        if (agentMetrics == null) {
            this.agentMetrics = null;
            return;
        }

        this.agentMetrics = new java.util.ArrayList<EdgeMetric>(agentMetrics);
    }
<p>
For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.
</p>

@param agentMetrics
       For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.
aws-java-sdk-sagemakeredgemanager/src/main/java/com/amazonaws/services/sagemakeredgemanager/model/SendHeartbeatRequest.java