@Test(expected = NullPointerException.class) public void missingPrivateIp() { Instance.builder() .node("i-12345") .build(); }
public static Builder builder() { return new Builder(); }
Instance { public static Builder builder() { return new Builder(); } }
Instance { public static Builder builder() { return new Builder(); } private  Instance(Builder builder); }
Instance { public static Builder builder() { return new Builder(); } private  Instance(Builder builder); String getNode(); String getPrivateIpAddress(); String getVpcId(); String getSubnetId(); String getAmi(); String getVmtype(); String getZone(); Status getStatus(); Instance merge(Instance other); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); }
Instance { public static Builder builder() { return new Builder(); } private  Instance(Builder builder); String getNode(); String getPrivateIpAddress(); String getVpcId(); String getSubnetId(); String getAmi(); String getVmtype(); String getZone(); Status getStatus(); Instance merge(Instance other); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder();  }