public PutSchemaResult withNamespaces(String... namespaces) {
        if (this.namespaces == null) {
            setNamespaces(new java.util.ArrayList<String>(namespaces.length));
        }
        for (String ele : namespaces) {
            this.namespaces.add(ele);
        }
        return this;
    }
<p>
Identifies the namespaces of the entities referenced by this schema.
</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
       Identifies the namespaces of the entities referenced by this schema.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-verifiedpermissions/src/main/java/com/amazonaws/services/verifiedpermissions/model/PutSchemaResult.java