public GetMetricStreamResult withStatisticsConfigurations(MetricStreamStatisticsConfiguration... statisticsConfigurations) {
        if (this.statisticsConfigurations == null) {
            setStatisticsConfigurations(new com.amazonaws.internal.SdkInternalList<MetricStreamStatisticsConfiguration>(statisticsConfigurations.length));
        }
        for (MetricStreamStatisticsConfiguration ele : statisticsConfigurations) {
            this.statisticsConfigurations.add(ele);
        }
        return this;
    }
<p>
Each entry in this array displays information about one or more metrics that include additional statistics in the
metric stream. For more information about the additional statistics, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html">
CloudWatch statistics definitions</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatisticsConfigurations(java.util.Collection)} or
{@link #withStatisticsConfigurations(java.util.Collection)} if you want to override the existing values.
</p>

@param statisticsConfigurations
       Each entry in this array displays information about one or more metrics that include additional statistics
       in the metric stream. For more information about the additional statistics, see <a
       href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html">
       CloudWatch statistics definitions</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/GetMetricStreamResult.java