@Deprecated
    public void setNamespaceId(String namespaceId) {
        this.namespaceId = namespaceId;
    }
<p>
<i>Use NamespaceId in <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_Service.html">Service</a>
instead.</i>
</p>
<p>
The ID of the namespace to use for DNS configuration.
</p>

@param namespaceId
       <i>Use NamespaceId in <a
       href="https://docs.aws.amazon.com/cloud-map/latest/api/API_Service.html">Service</a> instead.</i> </p>
       <p>
       The ID of the namespace to use for DNS configuration.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/DnsConfig.java