public String getDiscoveryName() {
        return this.discoveryName;
    }
<p>
The <code>discoveryName</code> is the name of the new Cloud Map service that Amazon ECS creates for this Amazon
ECS service. This must be unique within the Cloud Map namespace. The name can contain up to 64 characters. The
name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a
hyphen.
</p>
<p>
If the <code>discoveryName</code> isn't specified, the port mapping name from the task definition is used in
<code>portName.namespace</code>.
</p>

@return The <code>discoveryName</code> is the name of the new Cloud Map service that Amazon ECS creates for this
        Amazon ECS service. This must be unique within the Cloud Map namespace. The name can contain up to 64
        characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name
        can't start with a hyphen.</p>
        <p>
        If the <code>discoveryName</code> isn't specified, the port mapping name from the task definition is used
        in <code>portName.namespace</code>.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ServiceConnectService.java