* The name of the updated registry. *
*/ private String registryName; /** ** The Amazon Resource name (ARN) of the updated registry. *
*/ private String registryArn; /** ** The name of the updated registry. *
* * @param registryName * The name of the updated registry. */ public void setRegistryName(String registryName) { this.registryName = registryName; } /** ** The name of the updated registry. *
* * @return The name of the updated registry. */ public String getRegistryName() { return this.registryName; } /** ** The name of the updated registry. *
* * @param registryName * The name of the updated registry. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateRegistryResult withRegistryName(String registryName) { setRegistryName(registryName); return this; } /** ** The Amazon Resource name (ARN) of the updated registry. *
* * @param registryArn * The Amazon Resource name (ARN) of the updated registry. */ public void setRegistryArn(String registryArn) { this.registryArn = registryArn; } /** ** The Amazon Resource name (ARN) of the updated registry. *
* * @return The Amazon Resource name (ARN) of the updated registry. */ public String getRegistryArn() { return this.registryArn; } /** ** The Amazon Resource name (ARN) of the updated registry. *
* * @param registryArn * The Amazon Resource name (ARN) of the updated registry. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateRegistryResult withRegistryArn(String registryArn) { setRegistryArn(registryArn); 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 (getRegistryName() != null) sb.append("RegistryName: ").append(getRegistryName()).append(","); if (getRegistryArn() != null) sb.append("RegistryArn: ").append(getRegistryArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateRegistryResult == false) return false; UpdateRegistryResult other = (UpdateRegistryResult) obj; if (other.getRegistryName() == null ^ this.getRegistryName() == null) return false; if (other.getRegistryName() != null && other.getRegistryName().equals(this.getRegistryName()) == false) return false; if (other.getRegistryArn() == null ^ this.getRegistryArn() == null) return false; if (other.getRegistryArn() != null && other.getRegistryArn().equals(this.getRegistryArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRegistryName() == null) ? 0 : getRegistryName().hashCode()); hashCode = prime * hashCode + ((getRegistryArn() == null) ? 0 : getRegistryArn().hashCode()); return hashCode; } @Override public UpdateRegistryResult clone() { try { return (UpdateRegistryResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }