public void setNamespaceId(String namespaceId) {
        this.namespaceId = namespaceId;
    }
<p>
The ID of the namespace that you want to use to create the service. The namespace ID must be specified, but it
can be specified either here or in the <code>DnsConfig</code> object.
</p>

@param namespaceId
       The ID of the namespace that you want to use to create the service. The namespace ID must be specified,
       but it can be specified either here or in the <code>DnsConfig</code> object.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/CreateServiceRequest.java