@Deprecated
    public String getNamespaceId() {
        return this.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>

@return <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