public ListAvailableResourceMetricsRequest withIdentifier(String identifier) {
        setIdentifier(identifier);
        return this;
    }
<p>
An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its
<code>DbiResourceId</code> value. For example, specify <code>db-ABCDEFGHIJKLMNOPQRSTU1VWZ</code>.
</p>

@param identifier
       An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance
       Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify
       its <code>DbiResourceId</code> value. For example, specify <code>db-ABCDEFGHIJKLMNOPQRSTU1VWZ</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/ListAvailableResourceMetricsRequest.java