* ID of the report. *
*/ private String reportId; /** ** ID of the report. *
* * @param reportId * ID of the report. */ public void setReportId(String reportId) { this.reportId = reportId; } /** ** ID of the report. *
* * @return ID of the report. */ public String getReportId() { return this.reportId; } /** ** ID of the report. *
* * @param reportId * ID of the report. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateReportDefinitionResult withReportId(String reportId) { setReportId(reportId); 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 (getReportId() != null) sb.append("ReportId: ").append(getReportId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateReportDefinitionResult == false) return false; UpdateReportDefinitionResult other = (UpdateReportDefinitionResult) obj; if (other.getReportId() == null ^ this.getReportId() == null) return false; if (other.getReportId() != null && other.getReportId().equals(this.getReportId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getReportId() == null) ? 0 : getReportId().hashCode()); return hashCode; } @Override public UpdateReportDefinitionResult clone() { try { return (UpdateReportDefinitionResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }