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