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

        if (obj instanceof ResponseHeadersPolicyStrictTransportSecurity == false)
            return false;
        ResponseHeadersPolicyStrictTransportSecurity other = (ResponseHeadersPolicyStrictTransportSecurity) obj;
        if (other.getOverride() == null ^ this.getOverride() == null)
            return false;
        if (other.getOverride() != null && other.getOverride().equals(this.getOverride()) == false)
            return false;
        if (other.getIncludeSubdomains() == null ^ this.getIncludeSubdomains() == null)
            return false;
        if (other.getIncludeSubdomains() != null && other.getIncludeSubdomains().equals(this.getIncludeSubdomains()) == false)
            return false;
        if (other.getPreload() == null ^ this.getPreload() == null)
            return false;
        if (other.getPreload() != null && other.getPreload().equals(this.getPreload()) == false)
            return false;
        if (other.getAccessControlMaxAgeSec() == null ^ this.getAccessControlMaxAgeSec() == null)
            return false;
        if (other.getAccessControlMaxAgeSec() != null && other.getAccessControlMaxAgeSec().equals(this.getAccessControlMaxAgeSec()) == 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/ResponseHeadersPolicyStrictTransportSecurity.java