@Test public void testJavaSerialization() { InterfaceClagSettings c = InterfaceClagSettings.builder() .setBackupIp(Ip.ZERO) .setBackupIpVrf("foo") .setPeerIp(Ip.ZERO) .setPeerLinkLocal(true) .setPriority(5) .setSysMac(MacAddress.of(5L)) .build(); assertThat(SerializationUtils.clone(c), equalTo(c)); }
public static @Nonnull Builder builder() { return new Builder(); }
InterfaceClagSettings implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } }
InterfaceClagSettings implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } @JsonCreator private  InterfaceClagSettings(
      @JsonProperty(PROP_BACKUP_IP) @Nullable Ip backupIp,
      @JsonProperty(PROP_BACKUP_IP_VRF) @Nullable String backupIpVrf,
      @JsonProperty(PROP_PEER_IP) @Nullable Ip peerIp,
      @JsonProperty(PROP_PEER_IP_LINK_LOCAL) boolean peerIpLinkLocal,
      @JsonProperty(PROP_PRIORITY) @Nullable Integer priority,
      @JsonProperty(PROP_SYS_MAC) @Nullable MacAddress sysMac); }
InterfaceClagSettings implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } @JsonCreator private  InterfaceClagSettings(
      @JsonProperty(PROP_BACKUP_IP) @Nullable Ip backupIp,
      @JsonProperty(PROP_BACKUP_IP_VRF) @Nullable String backupIpVrf,
      @JsonProperty(PROP_PEER_IP) @Nullable Ip peerIp,
      @JsonProperty(PROP_PEER_IP_LINK_LOCAL) boolean peerIpLinkLocal,
      @JsonProperty(PROP_PRIORITY) @Nullable Integer priority,
      @JsonProperty(PROP_SYS_MAC) @Nullable MacAddress sysMac); static @Nonnull Builder builder(); @JsonProperty(PROP_BACKUP_IP) @Nullable Ip getBackupIp(); @JsonProperty(PROP_BACKUP_IP_VRF) @Nullable String getBackupIpVrf(); @JsonProperty(PROP_PEER_IP) @Nullable Ip getPeerIp(); @JsonProperty(PROP_PEER_IP_LINK_LOCAL) boolean isPeerIpLinkLocal(); @JsonProperty(PROP_PRIORITY) @Nullable Integer getPriority(); @JsonProperty(PROP_SYS_MAC) @Nullable MacAddress getSysMac(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override String toString(); }
InterfaceClagSettings implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } @JsonCreator private  InterfaceClagSettings(
      @JsonProperty(PROP_BACKUP_IP) @Nullable Ip backupIp,
      @JsonProperty(PROP_BACKUP_IP_VRF) @Nullable String backupIpVrf,
      @JsonProperty(PROP_PEER_IP) @Nullable Ip peerIp,
      @JsonProperty(PROP_PEER_IP_LINK_LOCAL) boolean peerIpLinkLocal,
      @JsonProperty(PROP_PRIORITY) @Nullable Integer priority,
      @JsonProperty(PROP_SYS_MAC) @Nullable MacAddress sysMac); static @Nonnull Builder builder(); @JsonProperty(PROP_BACKUP_IP) @Nullable Ip getBackupIp(); @JsonProperty(PROP_BACKUP_IP_VRF) @Nullable String getBackupIpVrf(); @JsonProperty(PROP_PEER_IP) @Nullable Ip getPeerIp(); @JsonProperty(PROP_PEER_IP_LINK_LOCAL) boolean isPeerIpLinkLocal(); @JsonProperty(PROP_PRIORITY) @Nullable Integer getPriority(); @JsonProperty(PROP_SYS_MAC) @Nullable MacAddress getSysMac(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override String toString();  }