public String getServiceType() {
        return this.serviceType;
    }
<p>
The Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
</p>
<ul>
<li>
<p>
<code>RDS</code>
</p>
</li>
<li>
<p>
<code>DOCDB</code>
</p>
</li>
</ul>

@return The Amazon Web Services service for which Performance Insights returns metrics. Valid values are as
        follows:</p>
        <ul>
        <li>
        <p>
        <code>RDS</code>
        </p>
        </li>
        <li>
        <p>
        <code>DOCDB</code>
        </p>
        </li>
@see ServiceType
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/GetResourceMetricsRequest.java