public String getMetric() {
        return this.metric;
    }
<p>
The name of a Performance Insights metric to be measured.
</p>
<p>
Valid values for <code>Metric</code> are:
</p>
<ul>
<li>
<p>
<code>db.load.avg</code> - A scaled representation of the number of active sessions for the database engine.
</p>
</li>
<li>
<p>
<code>db.sampledload.avg</code> - The raw number of active sessions for the database engine.
</p>
</li>
<li>
<p>
The counter metrics listed in <a href=
"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS"
>Performance Insights operating system counters</a> in the <i>Amazon Aurora User Guide</i>.
</p>
</li>
<li>
<p>
The counter metrics listed in <a href=
"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS"
>Performance Insights operating system counters</a> in the <i>Amazon RDS User Guide</i>.
</p>
</li>
</ul>
<p>
If the number of active sessions is less than an internal Performance Insights threshold,
<code>db.load.avg</code> and <code>db.sampledload.avg</code> are the same value. If the number of active sessions
is greater than the internal threshold, Performance Insights samples the active sessions, with
<code>db.load.avg</code> showing the scaled values, <code>db.sampledload.avg</code> showing the raw values, and
<code>db.sampledload.avg</code> less than <code>db.load.avg</code>. For most use cases, you can query
<code>db.load.avg</code> only.
</p>

@return The name of a Performance Insights metric to be measured.</p>
        <p>
        Valid values for <code>Metric</code> are:
        </p>
        <ul>
        <li>
        <p>
        <code>db.load.avg</code> - A scaled representation of the number of active sessions for the database
        engine.
        </p>
        </li>
        <li>
        <p>
        <code>db.sampledload.avg</code> - The raw number of active sessions for the database engine.
        </p>
        </li>
        <li>
        <p>
        The counter metrics listed in <a href=
        "https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS"
        >Performance Insights operating system counters</a> in the <i>Amazon Aurora User Guide</i>.
        </p>
        </li>
        <li>
        <p>
        The counter metrics listed in <a href=
        "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS"
        >Performance Insights operating system counters</a> in the <i>Amazon RDS User Guide</i>.
        </p>
        </li>
        </ul>
        <p>
        If the number of active sessions is less than an internal Performance Insights threshold,
        <code>db.load.avg</code> and <code>db.sampledload.avg</code> are the same value. If the number of active
        sessions is greater than the internal threshold, Performance Insights samples the active sessions, with
        <code>db.load.avg</code> showing the scaled values, <code>db.sampledload.avg</code> showing the raw
        values, and <code>db.sampledload.avg</code> less than <code>db.load.avg</code>. For most use cases, you
        can query <code>db.load.avg</code> only.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/MetricQuery.java