* This output displays the application ID on which the job run was submitted. *
*/ private String applicationId; /** ** The output contains the ID of the started job run. *
*/ private String jobRunId; /** ** This output displays the ARN of the job run.. *
*/ private String arn; /** ** This output displays the application ID on which the job run was submitted. *
* * @param applicationId * This output displays the application ID on which the job run was submitted. */ public void setApplicationId(String applicationId) { this.applicationId = applicationId; } /** ** This output displays the application ID on which the job run was submitted. *
* * @return This output displays the application ID on which the job run was submitted. */ public String getApplicationId() { return this.applicationId; } /** ** This output displays the application ID on which the job run was submitted. *
* * @param applicationId * This output displays the application ID on which the job run was submitted. * @return Returns a reference to this object so that method calls can be chained together. */ public StartJobRunResult withApplicationId(String applicationId) { setApplicationId(applicationId); return this; } /** ** The output contains the ID of the started job run. *
* * @param jobRunId * The output contains the ID of the started job run. */ public void setJobRunId(String jobRunId) { this.jobRunId = jobRunId; } /** ** The output contains the ID of the started job run. *
* * @return The output contains the ID of the started job run. */ public String getJobRunId() { return this.jobRunId; } /** ** The output contains the ID of the started job run. *
* * @param jobRunId * The output contains the ID of the started job run. * @return Returns a reference to this object so that method calls can be chained together. */ public StartJobRunResult withJobRunId(String jobRunId) { setJobRunId(jobRunId); return this; } /** ** This output displays the ARN of the job run.. *
* * @param arn * This output displays the ARN of the job run.. */ public void setArn(String arn) { this.arn = arn; } /** ** This output displays the ARN of the job run.. *
* * @return This output displays the ARN of the job run.. */ public String getArn() { return this.arn; } /** ** This output displays the ARN of the job run.. *
* * @param arn * This output displays the ARN of the job run.. * @return Returns a reference to this object so that method calls can be chained together. */ public StartJobRunResult withArn(String arn) { setArn(arn); 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 (getApplicationId() != null) sb.append("ApplicationId: ").append(getApplicationId()).append(","); if (getJobRunId() != null) sb.append("JobRunId: ").append(getJobRunId()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartJobRunResult == false) return false; StartJobRunResult other = (StartJobRunResult) obj; if (other.getApplicationId() == null ^ this.getApplicationId() == null) return false; if (other.getApplicationId() != null && other.getApplicationId().equals(this.getApplicationId()) == false) return false; if (other.getJobRunId() == null ^ this.getJobRunId() == null) return false; if (other.getJobRunId() != null && other.getJobRunId().equals(this.getJobRunId()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationId() == null) ? 0 : getApplicationId().hashCode()); hashCode = prime * hashCode + ((getJobRunId() == null) ? 0 : getJobRunId().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); return hashCode; } @Override public StartJobRunResult clone() { try { return (StartJobRunResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }