public PutMetricAlarmRequest withNamespace(String namespace) {
        setNamespace(namespace);
        return this;
    }
<p>
The namespace for the metric associated specified in <code>MetricName</code>.
</p>

@param namespace
       The namespace for the metric associated specified in <code>MetricName</code>.
@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/PutMetricAlarmRequest.java