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

        if (obj instanceof NetworkOriginConfiguration == false)
            return false;
        NetworkOriginConfiguration other = (NetworkOriginConfiguration) obj;
        if (other.getVpcConfiguration() == null ^ this.getVpcConfiguration() == null)
            return false;
        if (other.getVpcConfiguration() != null && other.getVpcConfiguration().equals(this.getVpcConfiguration()) == false)
            return false;
        if (other.getInternetConfiguration() == null ^ this.getInternetConfiguration() == null)
            return false;
        if (other.getInternetConfiguration() != null && other.getInternetConfiguration().equals(this.getInternetConfiguration()) == 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-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/NetworkOriginConfiguration.java