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

        if (obj instanceof RetrievalResultLocation == false)
            return false;
        RetrievalResultLocation other = (RetrievalResultLocation) obj;
        if (other.getConfluenceLocation() == null ^ this.getConfluenceLocation() == null)
            return false;
        if (other.getConfluenceLocation() != null && other.getConfluenceLocation().equals(this.getConfluenceLocation()) == false)
            return false;
        if (other.getS3Location() == null ^ this.getS3Location() == null)
            return false;
        if (other.getS3Location() != null && other.getS3Location().equals(this.getS3Location()) == false)
            return false;
        if (other.getSalesforceLocation() == null ^ this.getSalesforceLocation() == null)
            return false;
        if (other.getSalesforceLocation() != null && other.getSalesforceLocation().equals(this.getSalesforceLocation()) == false)
            return false;
        if (other.getSharePointLocation() == null ^ this.getSharePointLocation() == null)
            return false;
        if (other.getSharePointLocation() != null && other.getSharePointLocation().equals(this.getSharePointLocation()) == false)
            return false;
        if (other.getType() == null ^ this.getType() == null)
            return false;
        if (other.getType() != null && other.getType().equals(this.getType()) == false)
            return false;
        if (other.getWebLocation() == null ^ this.getWebLocation() == null)
            return false;
        if (other.getWebLocation() != null && other.getWebLocation().equals(this.getWebLocation()) == 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-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrievalResultLocation.java