public ListServicesByNamespaceRequest withNamespace(String namespace) {
        setNamespace(namespace);
        return this;
    }
<p>
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace to list the services in.
</p>
<p>
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to
services across all of the clusters in the namespace. Tasks connect through a managed proxy container that
collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported
with Service Connect. For more information, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in
the <i>Amazon Elastic Container Service Developer Guide</i>.
</p>

@param namespace
       The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace to list the services
       in.</p>
       <p>
       Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can
       connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy
       container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services
       create are supported with Service Connect. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service
       Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ListServicesByNamespaceRequest.java