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

        if (obj instanceof ServiceDependency == false)
            return false;
        ServiceDependency other = (ServiceDependency) obj;
        if (other.getOperationName() == null ^ this.getOperationName() == null)
            return false;
        if (other.getOperationName() != null && other.getOperationName().equals(this.getOperationName()) == false)
            return false;
        if (other.getDependencyKeyAttributes() == null ^ this.getDependencyKeyAttributes() == null)
            return false;
        if (other.getDependencyKeyAttributes() != null && other.getDependencyKeyAttributes().equals(this.getDependencyKeyAttributes()) == false)
            return false;
        if (other.getDependencyOperationName() == null ^ this.getDependencyOperationName() == null)
            return false;
        if (other.getDependencyOperationName() != null && other.getDependencyOperationName().equals(this.getDependencyOperationName()) == false)
            return false;
        if (other.getMetricReferences() == null ^ this.getMetricReferences() == null)
            return false;
        if (other.getMetricReferences() != null && other.getMetricReferences().equals(this.getMetricReferences()) == 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-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/ServiceDependency.java