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

        if (obj instanceof OriginAccessControlConfig == false)
            return false;
        OriginAccessControlConfig other = (OriginAccessControlConfig) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getDescription() == null ^ this.getDescription() == null)
            return false;
        if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
            return false;
        if (other.getSigningProtocol() == null ^ this.getSigningProtocol() == null)
            return false;
        if (other.getSigningProtocol() != null && other.getSigningProtocol().equals(this.getSigningProtocol()) == false)
            return false;
        if (other.getSigningBehavior() == null ^ this.getSigningBehavior() == null)
            return false;
        if (other.getSigningBehavior() != null && other.getSigningBehavior().equals(this.getSigningBehavior()) == false)
            return false;
        if (other.getOriginAccessControlOriginType() == null ^ this.getOriginAccessControlOriginType() == null)
            return false;
        if (other.getOriginAccessControlOriginType() != null
                && other.getOriginAccessControlOriginType().equals(this.getOriginAccessControlOriginType()) == 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-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/OriginAccessControlConfig.java