public StartMetricStreamsRequest withNames(String... names) {
        if (this.names == null) {
            setNames(new com.amazonaws.internal.SdkInternalList<String>(names.length));
        }
        for (String ele : names) {
            this.names.add(ele);
        }
        return this;
    }
<p>
The array of the names of metric streams to start streaming.
</p>
<p>
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you
list here, then none of the streams that you list in the operation will start streaming.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNames(java.util.Collection)} or {@link #withNames(java.util.Collection)} if you want to override the
existing values.
</p>

@param names
       The array of the names of metric streams to start streaming.</p>
       <p>
       This is an "all or nothing" operation. If you do not have permission to access all of the metric streams
       that you list here, then none of the streams that you list in the operation will start streaming.
@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/StartMetricStreamsRequest.java