public boolean equals()

in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/AppConfig.java [147:177]


    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        // Same reference?
        if (this == obj) {
            return true;
        }
        // Same type?
        if (getClass() != obj.getClass()) {
            return false;
        }
        final AppConfig other = (AppConfig) obj;
        return (
                ((name == null && other.name == null) || (name != null && name.equals(other.name)))
                && ((domainName == null && other.domainName == null) || (domainName != null && domainName.equals(other.domainName)))
                && ((sslCertArn == null && other.sslCertArn == null) || (sslCertArn != null && sslCertArn.equals(other.sslCertArn)))
                && ((minCount == null && other.minCount == null) || (minCount != null && minCount.equals(other.minCount)))
                && ((maxCount == null && other.maxCount == null) || (maxCount != null && maxCount.equals(other.maxCount)))
                && (computeSize == other.computeSize)
                && ((defaultCpu == null && other.defaultCpu == null) || (defaultCpu != null && defaultCpu.equals(other.defaultCpu)))
                && ((defaultMemory == null && other.defaultMemory == null) || (defaultMemory != null && defaultMemory.equals(other.defaultMemory)))
                && ((containerPort == null && other.containerPort == null) || (containerPort != null && containerPort.equals(other.containerPort)))
                && ((healthCheckURL == null && other.healthCheckURL == null) || (healthCheckURL != null && healthCheckURL.equals(other.healthCheckURL)))
                && (operatingSystem == other.operatingSystem)
                && ((instanceType == null && other.instanceType == null) || (instanceType != null && instanceType.equals(other.instanceType)))
                && ((filesystem == null && other.filesystem == null) || (filesystem != null && filesystem.equals(other.filesystem)))
                && ((database == null && other.database == null) || (database != null && database.equals(other.database)))
                && ((billing == null && other.billing == null) || (billing != null && billing.equals(other.billing)))
        );
    }