@Test public void testBuilderMissingVni() { _thrown.expect(IllegalArgumentException.class); VxlanNode.builder().setHostname("h").build(); }
public static @Nonnull Builder builder() { return new Builder(); }
VxlanNode { public static @Nonnull Builder builder() { return new Builder(); } }
VxlanNode { public static @Nonnull Builder builder() { return new Builder(); } VxlanNode(String hostname, int vni); }
VxlanNode { public static @Nonnull Builder builder() { return new Builder(); } VxlanNode(String hostname, int vni); static @Nonnull Builder builder(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override String toString(); @JsonProperty(PROP_HOSTNAME) @Nonnull String getHostname(); @JsonProperty(PROP_VNI) int getVni(); }
VxlanNode { public static @Nonnull Builder builder() { return new Builder(); } VxlanNode(String hostname, int vni); static @Nonnull Builder builder(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override String toString(); @JsonProperty(PROP_HOSTNAME) @Nonnull String getHostname(); @JsonProperty(PROP_VNI) int getVni();  }