* Provides detailed information about the specified Call Analytics job, including job status and, if applicable, * failure reason. *
*/ private CallAnalyticsJob callAnalyticsJob; /** ** Provides detailed information about the specified Call Analytics job, including job status and, if applicable, * failure reason. *
* * @param callAnalyticsJob * Provides detailed information about the specified Call Analytics job, including job status and, if * applicable, failure reason. */ public void setCallAnalyticsJob(CallAnalyticsJob callAnalyticsJob) { this.callAnalyticsJob = callAnalyticsJob; } /** ** Provides detailed information about the specified Call Analytics job, including job status and, if applicable, * failure reason. *
* * @return Provides detailed information about the specified Call Analytics job, including job status and, if * applicable, failure reason. */ public CallAnalyticsJob getCallAnalyticsJob() { return this.callAnalyticsJob; } /** ** Provides detailed information about the specified Call Analytics job, including job status and, if applicable, * failure reason. *
* * @param callAnalyticsJob * Provides detailed information about the specified Call Analytics job, including job status and, if * applicable, failure reason. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCallAnalyticsJobResult withCallAnalyticsJob(CallAnalyticsJob callAnalyticsJob) { setCallAnalyticsJob(callAnalyticsJob); 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 (getCallAnalyticsJob() != null) sb.append("CallAnalyticsJob: ").append(getCallAnalyticsJob()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetCallAnalyticsJobResult == false) return false; GetCallAnalyticsJobResult other = (GetCallAnalyticsJobResult) obj; if (other.getCallAnalyticsJob() == null ^ this.getCallAnalyticsJob() == null) return false; if (other.getCallAnalyticsJob() != null && other.getCallAnalyticsJob().equals(this.getCallAnalyticsJob()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCallAnalyticsJob() == null) ? 0 : getCallAnalyticsJob().hashCode()); return hashCode; } @Override public GetCallAnalyticsJobResult clone() { try { return (GetCallAnalyticsJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }