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