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

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