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