public boolean equals()

in services-custom/iam-policy-builder/src/main/java/software/amazon/awssdk/policybuilder/iam/internal/DefaultIamStatement.java [122:160]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        DefaultIamStatement that = (DefaultIamStatement) o;

        if (!Objects.equals(sid, that.sid)) {
            return false;
        }
        if (!effect.equals(that.effect)) {
            return false;
        }
        if (!principals.equals(that.principals)) {
            return false;
        }
        if (!notPrincipals.equals(that.notPrincipals)) {
            return false;
        }
        if (!actions.equals(that.actions)) {
            return false;
        }
        if (!notActions.equals(that.notActions)) {
            return false;
        }
        if (!resources.equals(that.resources)) {
            return false;
        }
        if (!notResources.equals(that.notResources)) {
            return false;
        }
        if (!conditions.equals(that.conditions)) {
            return false;
        }
        return true;
    }