public ListNamespacesResult withNamespaces(NamespaceInfoV2... namespaces) {
        if (this.namespaces == null) {
            setNamespaces(new java.util.ArrayList<NamespaceInfoV2>(namespaces.length));
        }
        for (NamespaceInfoV2 ele : namespaces) {
            this.namespaces.add(ele);
        }
        return this;
    }
<p>
The information about the namespaces in this Amazon Web Services account. The response includes the namespace
ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNamespaces(java.util.Collection)} or {@link #withNamespaces(java.util.Collection)} if you want to
override the existing values.
</p>

@param namespaces
       The information about the namespaces in this Amazon Web Services account. The response includes the
       namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity
       store.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ListNamespacesResult.java