public TargetTrackingMetric withNamespace(String namespace) {
        setNamespace(namespace);
        return this;
    }
<p>
The namespace of the metric. For more information, see the table in <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon
Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User Guide</i>.
</p>

@param namespace
       The namespace of the metric. For more information, see the table in <a href=
       "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html"
       >Amazon Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
       Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/TargetTrackingMetric.java