@Test(expected = NullPointerException.class) public void missingGroup() { ServerGroup.builder() .platform("titus") .build(); }
public static Builder builder() { return new Builder(); }
ServerGroup { public static Builder builder() { return new Builder(); } }
ServerGroup { public static Builder builder() { return new Builder(); } private  ServerGroup(Builder builder); }
ServerGroup { public static Builder builder() { return new Builder(); } private  ServerGroup(Builder builder); String getId(); String getPlatform(); String getApp(); String getCluster(); String getGroup(); String getStack(); String getDetail(); String getShard1(); String getShard2(); int getMinSize(); int getMaxSize(); int getDesiredSize(); List<Instance> getInstances(); ServerGroup merge(ServerGroup other); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static List<ServerGroup> merge(Collection<ServerGroup> gs1, Collection<ServerGroup> gs2); static Builder builder(); }
ServerGroup { public static Builder builder() { return new Builder(); } private  ServerGroup(Builder builder); String getId(); String getPlatform(); String getApp(); String getCluster(); String getGroup(); String getStack(); String getDetail(); String getShard1(); String getShard2(); int getMinSize(); int getMaxSize(); int getDesiredSize(); List<Instance> getInstances(); ServerGroup merge(ServerGroup other); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static List<ServerGroup> merge(Collection<ServerGroup> gs1, Collection<ServerGroup> gs2); static Builder builder();  }