public void setEnableSageMakerMetricsTimeSeries(Boolean enableSageMakerMetricsTimeSeries) {
        this.enableSageMakerMetricsTimeSeries = enableSageMakerMetricsTimeSeries;
    }
<p>
To generate and save time-series metrics during training, set to <code>true</code>. The default is
<code>false</code> and time-series metrics aren't generated except in the following cases:
</p>
<ul>
<li>
<p>
You use one of the SageMaker built-in algorithms
</p>
</li>
<li>
<p>
You use one of the following <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html"
>Prebuilt SageMaker Docker Images</a>:
</p>
<ul>
<li>
<p>
Tensorflow (version &gt;= 1.15)
</p>
</li>
<li>
<p>
MXNet (version &gt;= 1.6)
</p>
</li>
<li>
<p>
PyTorch (version &gt;= 1.3)
</p>
</li>
</ul>
</li>
<li>
<p>
You specify at least one <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_MetricDefinition.html">MetricDefinition</a>
</p>
</li>
</ul>

@param enableSageMakerMetricsTimeSeries
       To generate and save time-series metrics during training, set to <code>true</code>. The default is
       <code>false</code> and time-series metrics aren't generated except in the following cases:</p>
       <ul>
       <li>
       <p>
       You use one of the SageMaker built-in algorithms
       </p>
       </li>
       <li>
       <p>
       You use one of the following <a href=
       "https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html"
       >Prebuilt SageMaker Docker Images</a>:
       </p>
       <ul>
       <li>
       <p>
       Tensorflow (version &gt;= 1.15)
       </p>
       </li>
       <li>
       <p>
       MXNet (version &gt;= 1.6)
       </p>
       </li>
       <li>
       <p>
       PyTorch (version &gt;= 1.3)
       </p>
       </li>
       </ul>
       </li>
       <li>
       <p>
       You specify at least one <a
       href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_MetricDefinition.html"
       >MetricDefinition</a>
       </p>
       </li>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/AlgorithmSpecification.java