public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/ConfigEvent.java [353:409]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        ConfigEvent other = (ConfigEvent) obj;
        if (accountId == null) {
            if (other.accountId != null)
                return false;
        } else if (!accountId.equals(other.accountId))
            return false;
        if (configRuleArn == null) {
            if (other.configRuleArn != null)
                return false;
        } else if (!configRuleArn.equals(other.configRuleArn))
            return false;
        if (configRuleId == null) {
            if (other.configRuleId != null)
                return false;
        } else if (!configRuleId.equals(other.configRuleId))
            return false;
        if (configRuleName == null) {
            if (other.configRuleName != null)
                return false;
        } else if (!configRuleName.equals(other.configRuleName))
            return false;
        if (eventLeftScope != other.eventLeftScope)
            return false;
        if (executionRoleArn == null) {
            if (other.executionRoleArn != null)
                return false;
        } else if (!executionRoleArn.equals(other.executionRoleArn))
            return false;
        if (invokingEvent == null) {
            if (other.invokingEvent != null)
                return false;
        } else if (!invokingEvent.equals(other.invokingEvent))
            return false;
        if (resultToken == null) {
            if (other.resultToken != null)
                return false;
        } else if (!resultToken.equals(other.resultToken))
            return false;
        if (ruleParameters == null) {
            if (other.ruleParameters != null)
                return false;
        } else if (!ruleParameters.equals(other.ruleParameters))
            return false;
        if (version == null) {
            if (other.version != null)
                return false;
        } else if (!version.equals(other.version))
            return false;
        return true;
    }