public class ServiceEntry extends AbstractServiceEntry
name| Constructor and Description | 
|---|
| ServiceEntry(AbstractServiceEntry entry)Creates a copy from another entry. | 
| ServiceEntry(String name,
            String id) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName()See https://www.consul.io/api/agent/service.html#name. | 
public ServiceEntry(@Nullable String name, @Nullable String id)
name - The nameid - The idpublic ServiceEntry(AbstractServiceEntry entry)
entry - The entrypublic String getName()
getName in class AbstractServiceEntry