public MetricStreamFilter withNamespace(String namespace) {
        setNamespace(namespace);
        return this;
    }
<p>
The name of the metric namespace for this filter.
</p>
<p>
The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least
one non-whitespace character.
</p>

@param namespace
       The name of the metric namespace for this filter.</p>
       <p>
       The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at
       least one non-whitespace character.
@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/MetricStreamFilter.java