@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof StageDeclaration == false)
            return false;
        StageDeclaration other = (StageDeclaration) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getBlockers() == null ^ this.getBlockers() == null)
            return false;
        if (other.getBlockers() != null && other.getBlockers().equals(this.getBlockers()) == false)
            return false;
        if (other.getActions() == null ^ this.getActions() == null)
            return false;
        if (other.getActions() != null && other.getActions().equals(this.getActions()) == false)
            return false;
        if (other.getOnFailure() == null ^ this.getOnFailure() == null)
            return false;
        if (other.getOnFailure() != null && other.getOnFailure().equals(this.getOnFailure()) == false)
            return false;
        if (other.getOnSuccess() == null ^ this.getOnSuccess() == null)
            return false;
        if (other.getOnSuccess() != null && other.getOnSuccess().equals(this.getOnSuccess()) == false)
            return false;
        if (other.getBeforeEntry() == null ^ this.getBeforeEntry() == null)
            return false;
        if (other.getBeforeEntry() != null && other.getBeforeEntry().equals(this.getBeforeEntry()) == false)
            return false;
        return true;
    }
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()
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/StageDeclaration.java