public BatchPutMetricsRequest withTrialComponentName(String trialComponentName) {
        setTrialComponentName(trialComponentName);
        return this;
    }
<p>
The name of the Trial Component to associate with the metrics.
</p>

@param trialComponentName
       The name of the Trial Component to associate with the metrics.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakermetrics/src/main/java/com/amazonaws/services/sagemakermetrics/model/BatchPutMetricsRequest.java