public CloudWatchLogsConfiguration withLogStreams(CloudWatchLogsLogStream... logStreams) {
        if (this.logStreams == null) {
            setLogStreams(new com.amazonaws.internal.SdkInternalList<CloudWatchLogsLogStream>(logStreams.length));
        }
        for (CloudWatchLogsLogStream ele : logStreams) {
            this.logStreams.add(ele);
        }
        return this;
    }
<p>
A list of configuration options for CloudWatch Logs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogStreams(java.util.Collection)} or {@link #withLogStreams(java.util.Collection)} if you want to
override the existing values.
</p>

@param logStreams
       A list of configuration options for CloudWatch Logs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CloudWatchLogsConfiguration.java