* This output displays the started job run ID. *
*/ private String id; /** ** This output displays the name of the started job run. *
*/ private String name; /** ** This output lists the ARN of job run. *
*/ private String arn; /** ** This output displays the virtual cluster ID for which the job run was submitted. *
*/ private String virtualClusterId; /** ** This output displays the started job run ID. *
* * @param id * This output displays the started job run ID. */ public void setId(String id) { this.id = id; } /** ** This output displays the started job run ID. *
* * @return This output displays the started job run ID. */ public String getId() { return this.id; } /** ** This output displays the started job run ID. *
* * @param id * This output displays the started job run ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartJobRunResult withId(String id) { setId(id); return this; } /** ** This output displays the name of the started job run. *
* * @param name * This output displays the name of the started job run. */ public void setName(String name) { this.name = name; } /** ** This output displays the name of the started job run. *
* * @return This output displays the name of the started job run. */ public String getName() { return this.name; } /** ** This output displays the name of the started job run. *
* * @param name * This output displays the name of the started job run. * @return Returns a reference to this object so that method calls can be chained together. */ public StartJobRunResult withName(String name) { setName(name); return this; } /** ** This output lists the ARN of job run. *
* * @param arn * This output lists the ARN of job run. */ public void setArn(String arn) { this.arn = arn; } /** ** This output lists the ARN of job run. *
* * @return This output lists the ARN of job run. */ public String getArn() { return this.arn; } /** ** This output lists the ARN of job run. *
* * @param arn * This output lists the ARN of 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; } /** ** This output displays the virtual cluster ID for which the job run was submitted. *
* * @param virtualClusterId * This output displays the virtual cluster ID for which the job run was submitted. */ public void setVirtualClusterId(String virtualClusterId) { this.virtualClusterId = virtualClusterId; } /** ** This output displays the virtual cluster ID for which the job run was submitted. *
* * @return This output displays the virtual cluster ID for which the job run was submitted. */ public String getVirtualClusterId() { return this.virtualClusterId; } /** ** This output displays the virtual cluster ID for which the job run was submitted. *
* * @param virtualClusterId * This output displays the virtual cluster ID for which the job run was submitted. * @return Returns a reference to this object so that method calls can be chained together. */ public StartJobRunResult withVirtualClusterId(String virtualClusterId) { setVirtualClusterId(virtualClusterId); 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 (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getVirtualClusterId() != null) sb.append("VirtualClusterId: ").append(getVirtualClusterId()); 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.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getVirtualClusterId() == null ^ this.getVirtualClusterId() == null) return false; if (other.getVirtualClusterId() != null && other.getVirtualClusterId().equals(this.getVirtualClusterId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getVirtualClusterId() == null) ? 0 : getVirtualClusterId().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); } } }