public final void setMetricsCollector(RequestMetricCollector metrics) {
        this.metricsCollector = metrics;
    }
Sets a custom RequestMetricCollector to use for the client.

@param metrics Custom RequestMetricCollector to use.
aws-java-sdk-core/src/main/java/com/amazonaws/client/builder/AwsClientBuilder.java