public String getServiceName() {
        return this.serviceName;
    }
<p>
The name of the service that you specified when you registered the instance.
</p>

@return The name of the service that you specified when you registered the instance.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/DiscoverInstancesRequest.java