* Information about how the detector model is configured. *
*/ private DetectorModelConfiguration detectorModelConfiguration; /** ** Information about how the detector model is configured. *
* * @param detectorModelConfiguration * Information about how the detector model is configured. */ public void setDetectorModelConfiguration(DetectorModelConfiguration detectorModelConfiguration) { this.detectorModelConfiguration = detectorModelConfiguration; } /** ** Information about how the detector model is configured. *
* * @return Information about how the detector model is configured. */ public DetectorModelConfiguration getDetectorModelConfiguration() { return this.detectorModelConfiguration; } /** ** Information about how the detector model is configured. *
* * @param detectorModelConfiguration * Information about how the detector model is configured. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDetectorModelResult withDetectorModelConfiguration(DetectorModelConfiguration detectorModelConfiguration) { setDetectorModelConfiguration(detectorModelConfiguration); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDetectorModelConfiguration() != null) sb.append("DetectorModelConfiguration: ").append(getDetectorModelConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateDetectorModelResult == false) return false; UpdateDetectorModelResult other = (UpdateDetectorModelResult) obj; if (other.getDetectorModelConfiguration() == null ^ this.getDetectorModelConfiguration() == null) return false; if (other.getDetectorModelConfiguration() != null && other.getDetectorModelConfiguration().equals(this.getDetectorModelConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDetectorModelConfiguration() == null) ? 0 : getDetectorModelConfiguration().hashCode()); return hashCode; } @Override public UpdateDetectorModelResult clone() { try { return (UpdateDetectorModelResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }