* The ID for the job whose priority Amazon S3 updated. *
*/ private String jobId; /** ** The new priority assigned to the specified job. *
*/ private Integer priority; /** ** The ID for the job whose priority Amazon S3 updated. *
* * @param jobId * The ID for the job whose priority Amazon S3 updated. */ public void setJobId(String jobId) { this.jobId = jobId; } /** ** The ID for the job whose priority Amazon S3 updated. *
* * @return The ID for the job whose priority Amazon S3 updated. */ public String getJobId() { return this.jobId; } /** ** The ID for the job whose priority Amazon S3 updated. *
* * @param jobId * The ID for the job whose priority Amazon S3 updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateJobPriorityResult withJobId(String jobId) { setJobId(jobId); return this; } /** ** The new priority assigned to the specified job. *
* * @param priority * The new priority assigned to the specified job. */ public void setPriority(Integer priority) { this.priority = priority; } /** ** The new priority assigned to the specified job. *
* * @return The new priority assigned to the specified job. */ public Integer getPriority() { return this.priority; } /** ** The new priority assigned to the specified job. *
* * @param priority * The new priority assigned to the specified job. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateJobPriorityResult withPriority(Integer priority) { setPriority(priority); 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 (getJobId() != null) sb.append("JobId: ").append(getJobId()).append(","); if (getPriority() != null) sb.append("Priority: ").append(getPriority()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateJobPriorityResult == false) return false; UpdateJobPriorityResult other = (UpdateJobPriorityResult) obj; if (other.getJobId() == null ^ this.getJobId() == null) return false; if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) return false; if (other.getPriority() == null ^ this.getPriority() == null) return false; if (other.getPriority() != null && other.getPriority().equals(this.getPriority()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getPriority() == null) ? 0 : getPriority().hashCode()); return hashCode; } @Override public UpdateJobPriorityResult clone() { try { return (UpdateJobPriorityResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }