public ListMetricsRequest withNamespace(String namespace) {
        setNamespace(namespace);
        return this;
    }
<p>
The metric namespace to filter against. Only the namespace that matches exactly will be returned.
</p>

@param namespace
       The metric namespace to filter against. Only the namespace that matches exactly will be returned.
@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/ListMetricsRequest.java