public NodeDetails build() { checkType(type); checkString(name, "name"); checkString(host, "host"); checkPort(port); checkStartedAt(startedAt); return new NodeDetails(this); }
public NodeDetails build() { checkType(type); checkString(name, "name"); checkString(host, "host"); checkPort(port); checkStartedAt(startedAt); return new NodeDetails(this); }