public SendHeartbeatRequest withAgentMetrics(java.util.Collection<EdgeMetric> agentMetrics) {
        setAgentMetrics(agentMetrics);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakeredgemanager/src/main/java/com/amazonaws/services/sagemakeredgemanager/model/SendHeartbeatRequest.java