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