public void setType(String type) {
        this.type = type;
    }
<p>
If present, specifies that the service instances are only discoverable using the <code>DiscoverInstances</code>
API operation. No DNS records is registered for the service instances. The only valid value is <code>HTTP</code>.
</p>

@param type
       If present, specifies that the service instances are only discoverable using the
       <code>DiscoverInstances</code> API operation. No DNS records is registered for the service instances. The
       only valid value is <code>HTTP</code>.
@see ServiceTypeOption
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/CreateServiceRequest.java